From 8c8007eafd8cc444fa2e4743fdcfdbcffd1cf99d Mon Sep 17 00:00:00 2001 From: nidhikachhawa24 Date: Mon, 17 Jun 2024 11:35:12 +0530 Subject: [PATCH] removed the AI bots from home screen --- src/app/pages/home/home.page.html | 4 +- www/4392.073cef8be6bceea5.js | 1 + www/4392.f52feeb107ecedbc.js | 1 - www/garhwal-school.webmanifest | 60 ------------------- www/hummingbird-school.webmanifest | 60 ------------------- www/index.html | 2 +- www/ngsw.json | 12 ++-- ...4e5fe11.js => runtime.428db38ef211f881.js} | 2 +- 8 files changed, 11 insertions(+), 131 deletions(-) create mode 100644 www/4392.073cef8be6bceea5.js delete mode 100644 www/4392.f52feeb107ecedbc.js delete mode 100644 www/garhwal-school.webmanifest delete mode 100644 www/hummingbird-school.webmanifest rename www/{runtime.49ba95eb34e5fe11.js => runtime.428db38ef211f881.js} (98%) diff --git a/src/app/pages/home/home.page.html b/src/app/pages/home/home.page.html index 383cc9a2..1c589db6 100644 --- a/src/app/pages/home/home.page.html +++ b/src/app/pages/home/home.page.html @@ -38,7 +38,7 @@
-
+
diff --git a/www/4392.073cef8be6bceea5.js b/www/4392.073cef8be6bceea5.js new file mode 100644 index 00000000..bf938849 --- /dev/null +++ b/www/4392.073cef8be6bceea5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4392],{4392:(we,y,r)=>{r.r(y),r.d(y,{HomePageModule:()=>ue});var g=r(8974),v=r(177),w=r(9417),_=r(3021),d=r(467),I=r(56),O=r(2849),k=r(9441),T=r(3649),A=r(7420),S=r(8666),G=r(8941),$=r(446),e=r(4438),u=r(2904),H=r(444),R=r(3696),x=r(7594),P=r(6598),L=r(1413);let U=(()=>{var i;class l{constructor(){var t=this;this.connected=!1,this.networkInfo=new L.B,this.networkConnection$=this.networkInfo.asObservable(),P.l.addListener("networkStatusChange",function(){var o=(0,d.A)(function*(a){t.connected=a.connected,t.networkInfo.next(t.connected)});return function(a){return o.apply(this,arguments)}}())}getNetworkStatus(){var t=this;return(0,d.A)(function*(){return t.connected=yield(yield P.l.getStatus()).connected,t.connected})()}}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),l})();var j=r(345),B=r(5173),C=r(5402),E=r(4447),X=r(3207),N=r(6354),F=r(9437),D=r(3172),b=r(985),M=r(6421),Y=r(2700);let V=(()=>{var i;class l{constructor(t){this.apiService=t,this.transaction_id=(0,M.A)(),this.message_id=(0,M.A)()}onConfirmContent(t){var o=this;return(0,d.A)(function*(){let a={};t&&(a={context:{domain:"onest:learning-experiences",action:"confirm",version:"1.1.0",bap_id:"13.201.4.186:6002",bap_uri:"http://13.201.4.186:6002/",bpp_id:t.bpp_id,bpp_uri:t.bpp_uri,transaction_id:o.transaction_id,message_id:o.message_id,timestamp:(new Date).toISOString()},message:{order:{items:[{id:t.id}],fulfillments:[{customer:{person:{name:"",age:""},contact:{phone:"",email:""}}}]}}});let c=JSON.stringify(a);const s=(new b._g.Builder).withHost(D.$.api.BASE_URL).withPath(D.$.api.CONFIRM_API).withType(b.kr.POST).withBody(c).withBearerToken(!0).withLanguge(t.currentLang).build();return(0,X.s)(o.apiService.fetch(s).pipe((0,N.T)(m=>m.body),(0,F.W)(m=>{throw m})))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.KVO(Y.G))},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),l})();var W=r(2297);const K=["refresher"],z=()=>[0,1,2,3,4,5,6,7,8];function J(i,l){1&i&&(e.j41(0,"div",8),e.nrm(1,"ion-spinner",9),e.k0s())}function Q(i,l){1&i&&(e.j41(0,"div",12)(1,"div",13)(2,"div",14),e.nrm(3,"app-skeleton-item",15),e.k0s(),e.j41(4,"div",16)(5,"div",17),e.nrm(6,"app-skeleton-item",18),e.k0s(),e.j41(7,"div",19),e.nrm(8,"app-skeleton-item",18),e.k0s()()()())}function Z(i,l){1&i&&(e.j41(0,"ion-list",10),e.DNE(1,Q,9,0,"div",11),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngForOf",e.lJ4(1,z)))}function q(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",20)(2,"ion-label",21),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,1,"No Result")))}function ee(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",20)(2,"ion-label",21),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,1,"An unknown error occured, please try after sometime")))}function te(i,l){if(1&i&&e.nrm(0,"img",25),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/Audio.png",e.B4B)}}function ne(i,l){if(1&i&&e.nrm(0,"img",25),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/youtube-video.png",e.B4B)}}function ie(i,l){if(1&i&&e.nrm(0,"img",25),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/Video.png",e.B4B)}}function oe(i,l){if(1&i&&e.nrm(0,"img",25),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/PDF.png",e.B4B)}}function ae(i,l){if(1&i&&e.nrm(0,"img",25),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/LINK.png",e.B4B)}}function re(i,l){if(1&i&&e.nrm(0,"img",25),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/LINK.png",e.B4B)}}function se(i,l){if(1&i){const n=e.RV6();e.j41(0,"div",13)(1,"div",23),e.bIt("click",function(o){e.eBV(n);const a=e.XpG().$implicit,c=e.XpG(2);return e.Njj(c.playContent(o,a))}),e.DNE(2,te,1,1,"img",24)(3,ne,1,1,"img",24)(4,ie,1,1,"img",24)(5,oe,1,1,"img",24)(6,ae,1,1,"img",24)(7,re,1,1,"img",24),e.nrm(8,"img",25),e.k0s(),e.j41(9,"div",16)(10,"div",26),e.EFF(11),e.k0s(),e.j41(12,"ion-icon",27),e.bIt("click",function(){e.eBV(n);const o=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.moreOtions(o))}),e.k0s()()()}if(2&i){const n=e.XpG().$implicit,t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.AUDIO),e.R7$(),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.YOUTUBE),e.R7$(),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.MP4),e.R7$(),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.PDF),e.R7$(),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.LINK),e.R7$(),e.Y8G("ngIf","text/html"===(null==n||null==n.metaData?null:n.metaData.mimetype)),e.R7$(),e.Y8G("src",""!=(null==n||null==n.metaData?null:n.metaData.thumbnail)||n.metaData.identifier.startsWith("do_")?"":"https://ejaaduipitara.ncert.gov.in/assets/img/cards.jpg",e.B4B),e.R7$(3),e.JRh(null==n.metaData?null:n.metaData.name)}}function le(i,l){if(1&i&&(e.j41(0,"div",12),e.DNE(1,se,13,8,"div",22),e.k0s()),2&i){const n=l.$implicit;e.R7$(),e.Y8G("ngIf",n.metaData&&n.metaData.name)}}function ce(i,l){if(1&i&&(e.j41(0,"ion-list"),e.DNE(1,le,2,1,"div",11),e.k0s()),2&i){const n=e.XpG();e.R7$(),e.Y8G("ngForOf",n.configContents)}}function me(i,l){if(1&i){const n=e.RV6();e.j41(0,"ion-infinite-scroll",28),e.bIt("ionInfinite",function(o){e.eBV(n);const a=e.XpG();return e.Njj(a.onIonInfinite(o))}),e.nrm(1,"ion-infinite-scroll-content"),e.k0s()}}const de=[{path:"",component:(()=>{var i;class l{constructor(t,o,a,c,s,m,h,p,pe,ve,_e,Ce,ye,Se,Pe,De,be,Me){this.headerService=t,this.router=o,this.contentService=a,this.configService=c,this.sunbirdProcess=s,this.modalCtrl=m,this.networkService=h,this.cacheService=p,this.domSanitiser=pe,this.storage=ve,this.telemetryGeneratorService=_e,this.searchService=Ce,this.translateService=ye,this.toastController=Se,this.botMessageApiService=Pe,this.lcoalNotifService=De,this.appUpdateService=be,this.confirmService=Me,this.refresh=!1,this.showSheenAnimation=!0,this.contentList=[],this.isOpen=!1,this.configContents=[],this.optModalOpen=!1,this.networkConnected=!1,this.mimeType=I.Cc,this.noSearchData=!1,this.langChangeSubscription=null,this.serverError=!1,this.onlineState=!1,this.offlineState=!1,this.networkChangeSub=null,this.selectedLang="",this.appName="",this.responseList=[],$.g.then(f=>{console.log("Configuration:",f),this.configVariables=f}).catch(f=>{console.error("Failed to load configuration:",f)}),G.q.getInfo().then(f=>{this.appName=f.name}),this.configContents=[],this.contentList=[],this.networkChangeSub=this.networkService.networkConnection$.subscribe(f=>{this.networkConnected=f})}ngOnDestroy(){var t=this;return(0,d.A)(function*(){const o=yield t.modalCtrl.getTop();o&&o.dismiss();try{t.langChangeSubscription&&t.langChangeSubscription.unsubscribe(),t.networkChangeSub&&t.networkChangeSub.unsubscribe()}catch(a){console.log("error in unsubscribe",a)}})()}ngOnInit(){var t=this;return(0,d.A)(function*(){t.headerService.headerEventEmitted$.subscribe(function(){var s=(0,d.A)(function*(m){if("language"==m){let h=yield t.storage.getData("lang");console.log("lang ",h,t.selectedLang),t.responseList=yield t.searchService.postContentSearch(o,yield t.storage.getData("lang")),t.selectedLang!==h&&(t.selectedLang=h,t.showSheenAnimation=!0,t.getServerMetaConfig())}});return function(m){return s.apply(this,arguments)}}());let o={};t.headerService.filterConfigEmitted$.subscribe(function(){var s=(0,d.A)(function*(m){t.configContents=[],t.contentList=[],t.serverError=!1,t.showSheenAnimation=!0;let h=yield t.storage.getData("lang"),p=yield t.configService.getAllContent(o,h);t.mappUIContentList(p)});return function(m){return s.apply(this,arguments)}}()),t.headerService.sideMenuItemEventEmitted$.subscribe(function(){var s=(0,d.A)(function*(m){let h;h=""==m.query||"All"==(null==m?void 0:m.query)?{}:{category:m.query},console.log(m),t.showSheenAnimation=!0;try{t.responseList=[],t.responseList=yield t.searchService.postContentSearch(h,yield t.storage.getData("lang")),console.log("Response",t.responseList),t.mappUIContentList(t.responseList)}catch(p){console.log("error",p)}});return function(m){return s.apply(this,arguments)}}()),t.networkConnected=yield t.networkService.getNetworkStatus();let a=yield t.cacheService.getCacheTimeout();if(yield t.storage.getData("lang"),a)t.getServerMetaConfig();else if(t.networkConnected){t.getServerMetaConfig(),t.configContents=[],t.contentList=[];let s=yield t.contentService.getAllContent();t.contentList=s,t.generateItems(),t.showSheenAnimation=!1}else{t.configContents=[],t.contentList=[];let s=yield t.contentService.getAllContent();t.contentList=s,t.generateItems(),0==t.contentList.length&&t.getServerMetaConfig(),t.showSheenAnimation=!1}yield S.Q.preload({assetPath:"/assets/sounds/windchime.mp3",assetId:"windchime",volume:1,audioChannelNum:1,isUrl:!1}),t.botMessageApiService.deleteExpiredChatMessages().catch(s=>{console.error(s)}),t.appUpdateService.checkForUpdate()})()}mappUIContentList(t){var o=this;return(0,d.A)(function*(){if(o.showSheenAnimation=!1,o.configContents=[],o.contentList=[],t.length>0){o.noSearchData=!1;let a={};t.forEach((c,s)=>{a={},a.source="djp",a.sourceType="djp-content",a.metaData=c,o.contentList.push(a),s<50&&o.configContents.push(a)}),yield o.contentService.saveContents(o.contentList),o.contentService.getAllContent().then(c=>{o.contentList=[],o.contentList=c})}else o.noSearchData=!0})()}getServerMetaConfig(){var t=this;return(0,d.A)(function*(){yield t.storage.getData("configMeta");let a=t.configVariables.headerFilters;a.forEach(c=>{t.filters=c.additionalFilters.sort((s,m)=>s.index-m.index)}),t.languages=t.configVariables.languages.sort((c,s)=>c.id.localeCompare(s.id)),t.headerService.filterEvent({defaultFilter:a[0].defaultFilter,filter:t.filters,languages:t.languages})})()}tabViewWillEnter(){var t=this;return(0,d.A)(function*(){yield t.headerService.showHeader(t.appName,!1),setTimeout(()=>{t.headerService.showStatusBar(!1)},0)})()}ionViewWillEnter(){var t=this;return(0,d.A)(function*(){t.tabViewWillEnter()})()}ionViewDidEnter(){this.headerService.showStatusBar(!1)}moreOtions(t){var o=this;return(0,d.A)(function*(){let a;o.optModalOpen||(o.optModalOpen=!0,a=yield o.modalCtrl.create({component:O.q,componentProps:{content:t},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield a.present()),a.onDidDismiss().then(function(){var c=(0,d.A)(function*(s){o.optModalOpen=!1,s.data&&"addToPitara"===s.data.type?o.addContentToMyPitara(s.data.content||t):s.data&&"like"==s.data.type&&(o.contentService.likeContent(s.data.content||t,"guest",!0),s.data.content.metaData.isLiked&&(yield S.Q.play({assetId:"windchime"}),(0,A.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})),o.telemetryGeneratorService.generateInteractTelemetry("TOUCH","content-liked","home","home",new T.$i(null==t?void 0:t.metaData.identifier,null==t?void 0:t.metaData.mimetype,"")))});return function(s){return c.apply(this,arguments)}}())})()}initialiseSources(t,o){const a=o.mappings;t.sources&&t.sources.length>0&&t.sources.forEach(c=>{if("sunbird"==c.sourceType){const s=a.find(m=>"sunbird"==m.sourceType);this.sunbirdProcess.process(c,s)}})}playContent(t,o){var a=this;return(0,d.A)(function*(){a.contentService.markContentAsViewed(o),a.configContents.forEach(c=>{c.play=!1}),yield a.router.navigate(["/player"],{state:{content:o}})})()}addContentToMyPitara(t){var o=this;return(0,d.A)(function*(){const a=yield o.modalCtrl.create({component:k.$,componentProps:{content:t},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield a.present(),a.onWillDismiss().then(c=>{})})()}doRefresh(t){this.refresh=!0,this.serverError=!1,this.showSheenAnimation=!0,this.getServerMetaConfig(),setTimeout(()=>{this.refresh=!1,t&&t.detail.complete()},100)}handleFilter(t){alert("handle filter "+t)}sanitiseUrl(t){let o=t.split("&")[0];return this.domSanitiser.bypassSecurityTrustResourceUrl(o.replace("watch?v=","embed/")+"?autoplay=1&controls=1")}navigateToSakhi(t){this.telemetryGeneratorService.generateStartTelemetry("bot",`${t}-sakhi`),"story"==t?this.router.navigate([`/${t}`]):"teacher"==t&&this.router.navigate(["/teacher-sakhi"])}generateItems(){const t=this.configContents.length+50;for(let o=this.configContents.length;o{this.generateItems(),t.target.complete()},500)}confirmContent(t){var o=this;return(0,d.A)(function*(){null!=t&&(yield o.confirmService.onConfirmContent(t.metaData))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.rXU(u.Ux),e.rXU(_.Ix),e.rXU(H.f),e.rXU(R.w),e.rXU(x.q),e.rXU(g.W3),e.rXU(U),e.rXU(u.dk),e.rXU(j.up),e.rXU(u.n$),e.rXU(B.O),e.rXU(u.Sc),e.rXU(C.c$),e.rXU(g.K_),e.rXU(u.F_),e.rXU(u.MK),e.rXU(E.i),e.rXU(V))},i.\u0275cmp=e.VBU({type:i,selectors:[["app-home"]],viewQuery:function(t,o){if(1&t&&e.GBs(K,5),2&t){let a;e.mGM(a=e.lsd())&&(o.refresher=a.first)}},decls:10,vars:7,consts:[["refresher",""],[3,"fullscreen"],["class","spinner-div",4,"ngIf"],["slot","fixed",3,"ionRefresh"],["refreshingSpinner","circles"],["class","m-n",4,"ngIf"],[4,"ngIf"],[3,"ionInfinite",4,"ngIf"],[1,"spinner-div"],["icon","spiral",1,"refreshspinner"],[1,"m-n"],["class","cards-container",4,"ngFor","ngForOf"],[1,"cards-container"],[1,"card"],["item-start","",1,"card__img"],["height","15rem","width","100%","radius","16px"],[1,"card__metadata"],[2,"width","90%"],["height","12px","width","100%"],[2,"padding-left","1.5rem","width","10%"],["lines","none"],[1,"no-data"],["class","card",4,"ngIf"],[1,"card__img",3,"click"],["alt","",3,"src",4,"ngIf"],["alt","",3,"src"],[1,"card__title"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",3,"click"],[3,"ionInfinite"]],template:function(t,o){if(1&t){const a=e.RV6();e.j41(0,"ion-content",1),e.DNE(1,J,2,0,"div",2),e.j41(2,"ion-refresher",3,0),e.bIt("ionRefresh",function(s){return e.eBV(a),e.Njj(o.doRefresh(s))}),e.nrm(4,"ion-refresher-content",4),e.k0s(),e.DNE(5,Z,2,2,"ion-list",5)(6,q,5,3,"ion-list",6)(7,ee,5,3,"ion-list",6)(8,ce,2,1,"ion-list",6)(9,me,2,0,"ion-infinite-scroll",7),e.k0s()}2&t&&(e.Y8G("fullscreen",!0),e.R7$(),e.Y8G("ngIf",o.refresh),e.R7$(4),e.Y8G("ngIf",o.showSheenAnimation),e.R7$(),e.Y8G("ngIf",!o.showSheenAnimation&&o.noSearchData&&0==o.configContents.length),e.R7$(),e.Y8G("ngIf",!o.showSheenAnimation&&o.serverError),e.R7$(),e.Y8G("ngIf",!o.showSheenAnimation&&o.configContents.length>0),e.R7$(),e.Y8G("ngIf",!o.showSheenAnimation&&o.configContents.length>0))},dependencies:[g.W9,g.iq,g.Ax,g.Hp,g.uz,g.he,g.nf,g.To,g.Ki,g.w2,v.Sq,v.bT,W.O,C.D9],styles:[".cards-container[_ngcontent-%COMP%]{padding:.2rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 1rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{position:relative}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .image-title[_ngcontent-%COMP%]{position:absolute;bottom:.625rem;color:var(--ion-color-primary-contrast);left:0;right:0;text-align:center}.card[_ngcontent-%COMP%]{position:relative;padding-bottom:1rem}.card__img[_ngcontent-%COMP%]{height:194px;width:100%;overflow:hidden}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%;height:100%;border-radius:1rem}.card__metadata[_ngcontent-%COMP%]{padding-top:.5rem;display:flex;align-items:center;justify-content:space-between}.card__metadata[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem}.card__action-btns[_ngcontent-%COMP%]{display:flex;align-items:center}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:1rem}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]:last-child{margin-left:auto;margin-right:0}.card__title[_ngcontent-%COMP%]{font-size:.75rem;font-weight:400;width:90%;text-transform:capitalize;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.no-data[_ngcontent-%COMP%]{text-align:center}ion-label[_ngcontent-%COMP%]{width:95%}.refreshspinner[_ngcontent-%COMP%]{stroke:#024f9d!important;width:1.875rem;left:0;top:0;height:2.5rem;position:relative!important}.spinner-div[_ngcontent-%COMP%]{padding:2.5rem;background-color:#eceff0;text-align:center;border:none!important}.landscape-icon[_ngcontent-%COMP%]{position:absolute;width:100%;background:transparent;bottom:3.5rem;z-index:9999;background:var(--ion-color-secondary-contrast);opacity:.5}.landscape-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{float:right;font-size:1.5rem;margin-right:.5rem}ion-list[_ngcontent-%COMP%]{background-color:transparent}ion-item[_ngcontent-%COMP%]{--background: transparent}"]}),l})()}];let ge=(()=>{var i;class l{}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[_.iI.forChild(de),_.iI]}),l})();var he=r(5553),fe=r(3721);let ue=(()=>{var i;class l{}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[g.bv,v.MD,w.YN,ge,C.h,he.h,fe.h]}),l})()}}]); \ No newline at end of file diff --git a/www/4392.f52feeb107ecedbc.js b/www/4392.f52feeb107ecedbc.js deleted file mode 100644 index e4ed363b..00000000 --- a/www/4392.f52feeb107ecedbc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4392],{4392:(we,y,r)=>{r.r(y),r.d(y,{HomePageModule:()=>pe});var g=r(8974),v=r(177),M=r(9417),_=r(3021),d=r(467),w=r(56),k=r(2849),T=r(9441),O=r(3649),G=r(7420),S=r(8666),A=r(8941),R=r(446),e=r(4438),u=r(2904),$=r(444),H=r(3696),x=r(7594),P=r(6598),j=r(1413);let L=(()=>{var i;class l{constructor(){var t=this;this.connected=!1,this.networkInfo=new j.B,this.networkConnection$=this.networkInfo.asObservable(),P.l.addListener("networkStatusChange",function(){var a=(0,d.A)(function*(o){t.connected=o.connected,t.networkInfo.next(t.connected)});return function(o){return a.apply(this,arguments)}}())}getNetworkStatus(){var t=this;return(0,d.A)(function*(){return t.connected=yield(yield P.l.getStatus()).connected,t.connected})()}}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),l})();var B=r(345),U=r(5173),C=r(5402),E=r(4447),X=r(3207),F=r(6354),N=r(9437),b=r(3172),D=r(985),I=r(6421),Y=r(2700);let V=(()=>{var i;class l{constructor(t){this.apiService=t,this.transaction_id=(0,I.A)(),this.message_id=(0,I.A)()}onConfirmContent(t){var a=this;return(0,d.A)(function*(){let o={};t&&(o={context:{domain:"onest:learning-experiences",action:"confirm",version:"1.1.0",bap_id:"13.201.4.186:6002",bap_uri:"http://13.201.4.186:6002/",bpp_id:t.bpp_id,bpp_uri:t.bpp_uri,transaction_id:a.transaction_id,message_id:a.message_id,timestamp:(new Date).toISOString()},message:{order:{items:[{id:t.id}],fulfillments:[{customer:{person:{name:"",age:""},contact:{phone:"",email:""}}}]}}});let c=JSON.stringify(o);const s=(new D._g.Builder).withHost(b.$.api.BASE_URL).withPath(b.$.api.CONFIRM_API).withType(D.kr.POST).withBody(c).withBearerToken(!0).withLanguge(t.currentLang).build();return(0,X.s)(a.apiService.fetch(s).pipe((0,F.T)(m=>m.body),(0,N.W)(m=>{throw m})))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.KVO(Y.G))},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),l})();var W=r(2297);const K=["refresher"],J=()=>[0,1,2,3,4,5,6,7,8];function z(i,l){1&i&&(e.j41(0,"div",8),e.nrm(1,"ion-spinner",9),e.k0s())}function Q(i,l){1&i&&(e.j41(0,"div",12)(1,"div",13)(2,"div",14),e.nrm(3,"app-skeleton-item",15),e.k0s(),e.j41(4,"div",16)(5,"div",17),e.nrm(6,"app-skeleton-item",18),e.k0s(),e.j41(7,"div",19),e.nrm(8,"app-skeleton-item",18),e.k0s()()()())}function Z(i,l){1&i&&(e.j41(0,"ion-list",10),e.DNE(1,Q,9,0,"div",11),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngForOf",e.lJ4(1,J)))}function q(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",20)(2,"ion-label",21),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,1,"No Result")))}function ee(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",20)(2,"ion-label",21),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,1,"An unknown error occured, please try after sometime")))}function te(i,l){if(1&i){const n=e.RV6();e.j41(0,"div",24)(1,"div",25),e.bIt("click",function(){e.eBV(n);const a=e.XpG(3);return e.Njj(a.navigateToSakhi("story"))}),e.nrm(2,"img",26),e.j41(3,"div",27),e.EFF(4),e.nI1(5,"translate"),e.k0s()(),e.j41(6,"div",25),e.bIt("click",function(){e.eBV(n);const a=e.XpG(3);return e.Njj(a.navigateToSakhi("teacher"))}),e.nrm(7,"img",28),e.j41(8,"div",27),e.EFF(9),e.nI1(10,"translate"),e.k0s()()()}2&i&&(e.R7$(4),e.JRh(e.bMT(5,2,"Katha Sakhi")),e.R7$(5),e.JRh(e.bMT(10,4,"Teacher Tara")))}function ne(i,l){if(1&i&&e.nrm(0,"img",31),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/Audio.png",e.B4B)}}function ie(i,l){if(1&i&&e.nrm(0,"img",31),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/youtube-video.png",e.B4B)}}function ae(i,l){if(1&i&&e.nrm(0,"img",31),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/Video.png",e.B4B)}}function oe(i,l){if(1&i&&e.nrm(0,"img",31),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/PDF.png",e.B4B)}}function re(i,l){if(1&i&&e.nrm(0,"img",31),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/LINK.png",e.B4B)}}function se(i,l){if(1&i&&e.nrm(0,"img",31),2&i){const n=e.XpG(2).$implicit;e.Y8G("src",null!=n&&null!=n.metaData&&n.metaData.thumbnail&&!n.metaData.identifier.startsWith("do_")?null==n||null==n.metaData?null:n.metaData.thumbnail:"assets/images/LINK.png",e.B4B)}}function le(i,l){if(1&i){const n=e.RV6();e.j41(0,"div",13)(1,"div",29),e.bIt("click",function(a){e.eBV(n);const o=e.XpG().$implicit,c=e.XpG(2);return e.Njj(c.playContent(a,o))}),e.DNE(2,ne,1,1,"img",30)(3,ie,1,1,"img",30)(4,ae,1,1,"img",30)(5,oe,1,1,"img",30)(6,re,1,1,"img",30)(7,se,1,1,"img",30),e.nrm(8,"img",31),e.k0s(),e.j41(9,"div",16)(10,"div",32),e.EFF(11),e.k0s(),e.j41(12,"ion-icon",33),e.bIt("click",function(){e.eBV(n);const a=e.XpG().$implicit,o=e.XpG(2);return e.Njj(o.moreOtions(a))}),e.k0s()()()}if(2&i){const n=e.XpG().$implicit,t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.AUDIO),e.R7$(),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.YOUTUBE),e.R7$(),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.MP4),e.R7$(),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.PDF),e.R7$(),e.Y8G("ngIf",n.metaData.mimetype===t.mimeType.LINK),e.R7$(),e.Y8G("ngIf","text/html"===(null==n||null==n.metaData?null:n.metaData.mimetype)),e.R7$(),e.Y8G("src",""!=(null==n||null==n.metaData?null:n.metaData.thumbnail)||n.metaData.identifier.startsWith("do_")?"":"https://ejaaduipitara.ncert.gov.in/assets/img/cards.jpg",e.B4B),e.R7$(3),e.JRh(null==n.metaData?null:n.metaData.name)}}function ce(i,l){if(1&i&&(e.j41(0,"div",12),e.DNE(1,te,11,6,"div",22)(2,le,13,8,"div",23),e.k0s()),2&i){const n=l.$implicit,t=l.index;e.R7$(),e.Y8G("ngIf",5===t),e.R7$(),e.Y8G("ngIf",n.metaData&&n.metaData.name)}}function me(i,l){if(1&i&&(e.j41(0,"ion-list"),e.DNE(1,ce,3,2,"div",11),e.k0s()),2&i){const n=e.XpG();e.R7$(),e.Y8G("ngForOf",n.configContents)}}function de(i,l){if(1&i){const n=e.RV6();e.j41(0,"ion-infinite-scroll",34),e.bIt("ionInfinite",function(a){e.eBV(n);const o=e.XpG();return e.Njj(o.onIonInfinite(a))}),e.nrm(1,"ion-infinite-scroll-content"),e.k0s()}}const ge=[{path:"",component:(()=>{var i;class l{constructor(t,a,o,c,s,m,h,p,ve,_e,Ce,ye,Se,Pe,be,De,Ie,Me){this.headerService=t,this.router=a,this.contentService=o,this.configService=c,this.sunbirdProcess=s,this.modalCtrl=m,this.networkService=h,this.cacheService=p,this.domSanitiser=ve,this.storage=_e,this.telemetryGeneratorService=Ce,this.searchService=ye,this.translateService=Se,this.toastController=Pe,this.botMessageApiService=be,this.lcoalNotifService=De,this.appUpdateService=Ie,this.confirmService=Me,this.refresh=!1,this.showSheenAnimation=!0,this.contentList=[],this.isOpen=!1,this.configContents=[],this.optModalOpen=!1,this.networkConnected=!1,this.mimeType=w.Cc,this.noSearchData=!1,this.langChangeSubscription=null,this.serverError=!1,this.onlineState=!1,this.offlineState=!1,this.networkChangeSub=null,this.selectedLang="",this.appName="",this.responseList=[],R.g.then(f=>{console.log("Configuration:",f),this.configVariables=f}).catch(f=>{console.error("Failed to load configuration:",f)}),A.q.getInfo().then(f=>{this.appName=f.name}),this.configContents=[],this.contentList=[],this.networkChangeSub=this.networkService.networkConnection$.subscribe(f=>{this.networkConnected=f})}ngOnDestroy(){var t=this;return(0,d.A)(function*(){const a=yield t.modalCtrl.getTop();a&&a.dismiss();try{t.langChangeSubscription&&t.langChangeSubscription.unsubscribe(),t.networkChangeSub&&t.networkChangeSub.unsubscribe()}catch(o){console.log("error in unsubscribe",o)}})()}ngOnInit(){var t=this;return(0,d.A)(function*(){t.headerService.headerEventEmitted$.subscribe(function(){var s=(0,d.A)(function*(m){if("language"==m){let h=yield t.storage.getData("lang");console.log("lang ",h,t.selectedLang),t.responseList=yield t.searchService.postContentSearch(a,yield t.storage.getData("lang")),t.selectedLang!==h&&(t.selectedLang=h,t.showSheenAnimation=!0,t.getServerMetaConfig())}});return function(m){return s.apply(this,arguments)}}());let a={};t.headerService.filterConfigEmitted$.subscribe(function(){var s=(0,d.A)(function*(m){t.configContents=[],t.contentList=[],t.serverError=!1,t.showSheenAnimation=!0;let h=yield t.storage.getData("lang"),p=yield t.configService.getAllContent(a,h);t.mappUIContentList(p)});return function(m){return s.apply(this,arguments)}}()),t.headerService.sideMenuItemEventEmitted$.subscribe(function(){var s=(0,d.A)(function*(m){let h;h=""==m.query||"All"==(null==m?void 0:m.query)?{}:{category:m.query},console.log(m),t.showSheenAnimation=!0;try{t.responseList=[],t.responseList=yield t.searchService.postContentSearch(h,yield t.storage.getData("lang")),console.log("Response",t.responseList),t.mappUIContentList(t.responseList)}catch(p){console.log("error",p)}});return function(m){return s.apply(this,arguments)}}()),t.networkConnected=yield t.networkService.getNetworkStatus();let o=yield t.cacheService.getCacheTimeout();if(yield t.storage.getData("lang"),o)t.getServerMetaConfig();else if(t.networkConnected){t.getServerMetaConfig(),t.configContents=[],t.contentList=[];let s=yield t.contentService.getAllContent();t.contentList=s,t.generateItems(),t.showSheenAnimation=!1}else{t.configContents=[],t.contentList=[];let s=yield t.contentService.getAllContent();t.contentList=s,t.generateItems(),0==t.contentList.length&&t.getServerMetaConfig(),t.showSheenAnimation=!1}yield S.Q.preload({assetPath:"/assets/sounds/windchime.mp3",assetId:"windchime",volume:1,audioChannelNum:1,isUrl:!1}),t.botMessageApiService.deleteExpiredChatMessages().catch(s=>{console.error(s)}),t.appUpdateService.checkForUpdate()})()}mappUIContentList(t){var a=this;return(0,d.A)(function*(){if(a.showSheenAnimation=!1,a.configContents=[],a.contentList=[],t.length>0){a.noSearchData=!1;let o={};t.forEach((c,s)=>{o={},o.source="djp",o.sourceType="djp-content",o.metaData=c,a.contentList.push(o),s<50&&a.configContents.push(o)}),yield a.contentService.saveContents(a.contentList),a.contentService.getAllContent().then(c=>{a.contentList=[],a.contentList=c})}else a.noSearchData=!0})()}getServerMetaConfig(){var t=this;return(0,d.A)(function*(){yield t.storage.getData("configMeta");let o=t.configVariables.headerFilters;o.forEach(c=>{t.filters=c.additionalFilters.sort((s,m)=>s.index-m.index)}),t.languages=t.configVariables.languages.sort((c,s)=>c.id.localeCompare(s.id)),t.headerService.filterEvent({defaultFilter:o[0].defaultFilter,filter:t.filters,languages:t.languages})})()}tabViewWillEnter(){var t=this;return(0,d.A)(function*(){yield t.headerService.showHeader(t.appName,!1),setTimeout(()=>{t.headerService.showStatusBar(!1)},0)})()}ionViewWillEnter(){var t=this;return(0,d.A)(function*(){t.tabViewWillEnter()})()}ionViewDidEnter(){this.headerService.showStatusBar(!1)}moreOtions(t){var a=this;return(0,d.A)(function*(){let o;a.optModalOpen||(a.optModalOpen=!0,o=yield a.modalCtrl.create({component:k.q,componentProps:{content:t},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield o.present()),o.onDidDismiss().then(function(){var c=(0,d.A)(function*(s){a.optModalOpen=!1,s.data&&"addToPitara"===s.data.type?a.addContentToMyPitara(s.data.content||t):s.data&&"like"==s.data.type&&(a.contentService.likeContent(s.data.content||t,"guest",!0),s.data.content.metaData.isLiked&&(yield S.Q.play({assetId:"windchime"}),(0,G.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})),a.telemetryGeneratorService.generateInteractTelemetry("TOUCH","content-liked","home","home",new O.$i(null==t?void 0:t.metaData.identifier,null==t?void 0:t.metaData.mimetype,"")))});return function(s){return c.apply(this,arguments)}}())})()}initialiseSources(t,a){const o=a.mappings;t.sources&&t.sources.length>0&&t.sources.forEach(c=>{if("sunbird"==c.sourceType){const s=o.find(m=>"sunbird"==m.sourceType);this.sunbirdProcess.process(c,s)}})}playContent(t,a){var o=this;return(0,d.A)(function*(){o.contentService.markContentAsViewed(a),o.configContents.forEach(c=>{c.play=!1}),yield o.router.navigate(["/player"],{state:{content:a}})})()}addContentToMyPitara(t){var a=this;return(0,d.A)(function*(){const o=yield a.modalCtrl.create({component:T.$,componentProps:{content:t},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield o.present(),o.onWillDismiss().then(c=>{})})()}doRefresh(t){this.refresh=!0,this.serverError=!1,this.showSheenAnimation=!0,this.getServerMetaConfig(),setTimeout(()=>{this.refresh=!1,t&&t.detail.complete()},100)}handleFilter(t){alert("handle filter "+t)}sanitiseUrl(t){let a=t.split("&")[0];return this.domSanitiser.bypassSecurityTrustResourceUrl(a.replace("watch?v=","embed/")+"?autoplay=1&controls=1")}navigateToSakhi(t){this.telemetryGeneratorService.generateStartTelemetry("bot",`${t}-sakhi`),"story"==t?this.router.navigate([`/${t}`]):"teacher"==t&&this.router.navigate(["/teacher-sakhi"])}generateItems(){const t=this.configContents.length+50;for(let a=this.configContents.length;a{this.generateItems(),t.target.complete()},500)}confirmContent(t){var a=this;return(0,d.A)(function*(){null!=t&&(yield a.confirmService.onConfirmContent(t.metaData))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.rXU(u.Ux),e.rXU(_.Ix),e.rXU($.f),e.rXU(H.w),e.rXU(x.q),e.rXU(g.W3),e.rXU(L),e.rXU(u.dk),e.rXU(B.up),e.rXU(u.n$),e.rXU(U.O),e.rXU(u.Sc),e.rXU(C.c$),e.rXU(g.K_),e.rXU(u.F_),e.rXU(u.MK),e.rXU(E.i),e.rXU(V))},i.\u0275cmp=e.VBU({type:i,selectors:[["app-home"]],viewQuery:function(t,a){if(1&t&&e.GBs(K,5),2&t){let o;e.mGM(o=e.lsd())&&(a.refresher=o.first)}},decls:10,vars:7,consts:[["refresher",""],[3,"fullscreen"],["class","spinner-div",4,"ngIf"],["slot","fixed",3,"ionRefresh"],["refreshingSpinner","circles"],["class","m-n",4,"ngIf"],[4,"ngIf"],[3,"ionInfinite",4,"ngIf"],[1,"spinner-div"],["icon","spiral",1,"refreshspinner"],[1,"m-n"],["class","cards-container",4,"ngFor","ngForOf"],[1,"cards-container"],[1,"card"],["item-start","",1,"card__img"],["height","15rem","width","100%","radius","16px"],[1,"card__metadata"],[2,"width","90%"],["height","12px","width","100%"],[2,"padding-left","1.5rem","width","10%"],["lines","none"],[1,"no-data"],["class","bot-section",4,"ngIf"],["class","card",4,"ngIf"],[1,"bot-section"],[1,"image",3,"click"],["src","assets/images/Story_bot.svg","alt",""],[1,"image-title"],["src","assets/images/Question_bot.svg","alt",""],[1,"card__img",3,"click"],["alt","",3,"src",4,"ngIf"],["alt","",3,"src"],[1,"card__title"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",3,"click"],[3,"ionInfinite"]],template:function(t,a){if(1&t){const o=e.RV6();e.j41(0,"ion-content",1),e.DNE(1,z,2,0,"div",2),e.j41(2,"ion-refresher",3,0),e.bIt("ionRefresh",function(s){return e.eBV(o),e.Njj(a.doRefresh(s))}),e.nrm(4,"ion-refresher-content",4),e.k0s(),e.DNE(5,Z,2,2,"ion-list",5)(6,q,5,3,"ion-list",6)(7,ee,5,3,"ion-list",6)(8,me,2,1,"ion-list",6)(9,de,2,0,"ion-infinite-scroll",7),e.k0s()}2&t&&(e.Y8G("fullscreen",!0),e.R7$(),e.Y8G("ngIf",a.refresh),e.R7$(4),e.Y8G("ngIf",a.showSheenAnimation),e.R7$(),e.Y8G("ngIf",!a.showSheenAnimation&&a.noSearchData&&0==a.configContents.length),e.R7$(),e.Y8G("ngIf",!a.showSheenAnimation&&a.serverError),e.R7$(),e.Y8G("ngIf",!a.showSheenAnimation&&a.configContents.length>0),e.R7$(),e.Y8G("ngIf",!a.showSheenAnimation&&a.configContents.length>0))},dependencies:[g.W9,g.iq,g.Ax,g.Hp,g.uz,g.he,g.nf,g.To,g.Ki,g.w2,v.Sq,v.bT,W.O,C.D9],styles:[".cards-container[_ngcontent-%COMP%]{padding:.2rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 1rem 1rem}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{position:relative}.cards-container[_ngcontent-%COMP%] .bot-section[_ngcontent-%COMP%] .image[_ngcontent-%COMP%] .image-title[_ngcontent-%COMP%]{position:absolute;bottom:.625rem;color:var(--ion-color-primary-contrast);left:0;right:0;text-align:center}.card[_ngcontent-%COMP%]{position:relative;padding-bottom:1rem}.card__img[_ngcontent-%COMP%]{height:194px;width:100%;overflow:hidden}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%;height:100%;border-radius:1rem}.card__metadata[_ngcontent-%COMP%]{padding-top:.5rem;display:flex;align-items:center;justify-content:space-between}.card__metadata[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem}.card__action-btns[_ngcontent-%COMP%]{display:flex;align-items:center}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:1rem}.card__action-btns[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]:last-child{margin-left:auto;margin-right:0}.card__title[_ngcontent-%COMP%]{font-size:.75rem;font-weight:400;width:90%;text-transform:capitalize;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.no-data[_ngcontent-%COMP%]{text-align:center}ion-label[_ngcontent-%COMP%]{width:95%}.refreshspinner[_ngcontent-%COMP%]{stroke:#024f9d!important;width:1.875rem;left:0;top:0;height:2.5rem;position:relative!important}.spinner-div[_ngcontent-%COMP%]{padding:2.5rem;background-color:#eceff0;text-align:center;border:none!important}.landscape-icon[_ngcontent-%COMP%]{position:absolute;width:100%;background:transparent;bottom:3.5rem;z-index:9999;background:var(--ion-color-secondary-contrast);opacity:.5}.landscape-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{float:right;font-size:1.5rem;margin-right:.5rem}ion-list[_ngcontent-%COMP%]{background-color:transparent}ion-item[_ngcontent-%COMP%]{--background: transparent}"]}),l})()}];let he=(()=>{var i;class l{}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[_.iI.forChild(ge),_.iI]}),l})();var fe=r(5553),ue=r(3721);let pe=(()=>{var i;class l{}return(i=l).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[g.bv,v.MD,M.YN,he,C.h,fe.h,ue.h]}),l})()}}]); \ No newline at end of file diff --git a/www/garhwal-school.webmanifest b/www/garhwal-school.webmanifest deleted file mode 100644 index 42e6d8f4..00000000 --- a/www/garhwal-school.webmanifest +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "Garhwal English Medium School", - "short_name": "GEMS", - "theme_color": "#1976d2", - "background_color": "#fafafa", - "display": "standalone", - "scope": "./", - "start_url": "./", - "icons": [ - { - "src": "assets/school/GEMS_72x72.png", - "sizes": "72x72", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_96x96.png", - "sizes": "96x96", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_128x128.png", - "sizes": "128x128", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_144x144.png", - "sizes": "144x144", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_152x152.png", - "sizes": "152x152", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_192x192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_384x384.png", - "sizes": "384x384", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/GEMS_512x512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable any" - } - ] - } - \ No newline at end of file diff --git a/www/hummingbird-school.webmanifest b/www/hummingbird-school.webmanifest deleted file mode 100644 index 05e3c5e2..00000000 --- a/www/hummingbird-school.webmanifest +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "Humming Bird School", - "short_name": "Hathi Poti", - "theme_color": "#1976d2", - "background_color": "#fafafa", - "display": "standalone", - "scope": "./", - "start_url": "./", - "icons": [ - { - "src": "assets/school/THSM_72x72.png", - "sizes": "72x72", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/THSM_96x96.png", - "sizes": "96x96", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/THSM_128x128.png", - "sizes": "128x128", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/THSM_144x144.png", - "sizes": "144x144", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/THSM_152x152.png", - "sizes": "152x152", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/THSM_192x192.png", - "sizes": "192x192", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/THSM_384x384.png", - "sizes": "384x384", - "type": "image/png", - "purpose": "maskable any" - }, - { - "src": "assets/school/THSM_512x512.png", - "sizes": "512x512", - "type": "image/png", - "purpose": "maskable any" - } - ] - } - \ No newline at end of file diff --git a/www/index.html b/www/index.html index 77a9e20b..ccb1b01f 100644 --- a/www/index.html +++ b/www/index.html @@ -24,6 +24,6 @@ - + diff --git a/www/ngsw.json b/www/ngsw.json index 201bb23c..274a6ae4 100644 --- a/www/ngsw.json +++ b/www/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1718596493290, + "timestamp": 1718604302244, "index": "/index.html", "assetGroups": [ { @@ -45,7 +45,7 @@ "/4183.fbaeacea2b0845b7.js", "/4224.70311ea3fdbf63a3.js", "/4294.2771f6bcd50e749a.js", - "/4392.f52feeb107ecedbc.js", + "/4392.073cef8be6bceea5.js", "/4406.b8245874c4dfe3db.js", "/441.e6b1a85717016aa1.js", "/4463.c8c61474985c056d.js", @@ -106,7 +106,7 @@ "/polyfills-core-js.c76198334f717402.js", "/polyfills-dom.bf542500b6fca113.js", "/polyfills.8aa0ed51fddab033.js", - "/runtime.49ba95eb34e5fe11.js", + "/runtime.428db38ef211f881.js", "/scripts.f969b614b9decf68.js", "/styles.4e8dacb696c69ef3.css" ], @@ -475,7 +475,7 @@ "/4183.fbaeacea2b0845b7.js": "e331b71f59f6bac2fbb35662da3f9518aa735d84", "/4224.70311ea3fdbf63a3.js": "c5da1710213bb0a5a50ef264f5dbf7a0b0cba324", "/4294.2771f6bcd50e749a.js": "e5923973e24fb87caa669ff00e361c0d058ee489", - "/4392.f52feeb107ecedbc.js": "171174e7e094f54d8b860beec46df960f2c2b97d", + "/4392.073cef8be6bceea5.js": "e315d25acf152a94c0930c2c7836e90cbe69a6e3", "/4406.b8245874c4dfe3db.js": "eba841508e209d400f46e5200383aac98c55b1f3", "/441.e6b1a85717016aa1.js": "40c1b5178cdeb00499a134f75dc95e9c7addcd0b", "/4463.c8c61474985c056d.js": "965c8bd610584cdc0415959b91a430c2b4f5344d", @@ -845,13 +845,13 @@ "/assets/timer.svg": "57b27e5d93af2aabd1077ecd4c70bcab678f4472", "/assets/user.svg": "2dc572771661b2ccd3ea4ae06bf768778144cbec", "/common.d5afa357a12054a6.js": "4def9eb63d9c0e8e525a0fc947d54f807f1e5f88", - "/index.html": "00bf73bd245c1c376dd8826169a88724271962c1", + "/index.html": "1c474a788e67aaf2e027b0c92b18856e3f9ec623", "/main.60e8bf88e57e4181.js": "64cf501ab4b8d2dfa07cc6c48652fd722859acd9", "/manifest.webmanifest": "5a927f2c991153c4e1fb8dd9fd7845bbe00ba537", "/polyfills-core-js.c76198334f717402.js": "d6e270a2944b6a95a9b97dafd25599ba825e8d7f", "/polyfills-dom.bf542500b6fca113.js": "3fa333db66c8050f12e99d977f5098a6de8dd593", "/polyfills.8aa0ed51fddab033.js": "52a4225db39c3a19f31842d5205497fb87127245", - "/runtime.49ba95eb34e5fe11.js": "876aad219a4aae62f1c5be033b49b5e218ce6c1a", + "/runtime.428db38ef211f881.js": "ca9b938aca3fda779c3c83c00f4dad689808a3f7", "/scripts.f969b614b9decf68.js": "467091cacab9e36440117d8c26effba07c491af9", "/styles.4e8dacb696c69ef3.css": "c63283b3d95887a1fd9dcc217de175071c24864f" }, diff --git a/www/runtime.49ba95eb34e5fe11.js b/www/runtime.428db38ef211f881.js similarity index 98% rename from www/runtime.49ba95eb34e5fe11.js rename to www/runtime.428db38ef211f881.js index d0ca038b..7e52f989 100644 --- a/www/runtime.49ba95eb34e5fe11.js +++ b/www/runtime.428db38ef211f881.js @@ -1 +1 @@ -(()=>{"use strict";var e,v={},g={};function f(e){var t=g[e];if(void 0!==t)return t.exports;var a=g[e]={id:e,loaded:!1,exports:{}};return v[e].call(a.exports,a,a.exports,f),a.loaded=!0,a.exports}f.m=v,e=[],f.O=(t,a,d,b)=>{if(!a){var c=1/0;for(r=0;r=b)&&Object.keys(f.O).every(u=>f.O[u](a[n]))?a.splice(n--,1):(l=!1,b0&&e[r-1][2]>b;r--)e[r]=e[r-1];e[r]=[a,d,b]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},(()=>{var t,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;f.t=function(a,d){if(1&d&&(a=this(a)),8&d||"object"==typeof a&&a&&(4&d&&a.__esModule||16&d&&"function"==typeof a.then))return a;var b=Object.create(null);f.r(b);var r={};t=t||[null,e({}),e([]),e(e)];for(var c=2&d&&a;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach(l=>r[l]=()=>a[l]);return r.default=()=>a,f.d(b,r),b}})(),f.d=(e,t)=>{for(var a in t)f.o(t,a)&&!f.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce((t,a)=>(f.f[a](e,t),t),[])),f.u=e=>(({2076:"common",7278:"polyfills-dom",9329:"polyfills-core-js"}[e]||e)+"."+{101:"b61200e5155d34ee",441:"e6b1a85717016aa1",477:"4d01f7ea8fb587bc",604:"d4b5c1afc9ff3a07",771:"7fd9f687f0594b31",786:"15f2026846e1c0f4",964:"25217b0e09147441",1049:"2c987ff65f55c61a",1102:"56d892f823cb514e",1177:"7ba9e57140ca43d5",1227:"caeaa0e1fff748b5",1433:"2c059f00cb042b4f",1577:"f78a0447c8f41a1b",1983:"5210d513508bd34c",2075:"f919952f47beca5b",2076:"d5afa357a12054a6",2113:"0c87c15ab9a91af5",2144:"1466920522110c0f",2348:"20a86cac51a9a09a",2375:"0d7df3c398a32c3b",2415:"da41a053ff8683bc",2560:"97b47ff4ff479f07",2628:"b5b3b9d76e09f1e2",2648:"2ccda6362de2145a",2885:"6cc30bddac52cb25",2924:"804f1920724ce014",2937:"aa2ee25b0084be07",2982:"aa513e7ab5d121b6",3066:"1a60873367cf408d",3119:"bff9b09523e2d965",3162:"0ec9926637ab8977",3506:"1e89bee134eda505",3511:"b2a5b41a523ba553",3558:"7582aa5359a71327",3574:"edec9cbaff66e512",3780:"bd8da0556bbf53cc",3814:"ff9ab654cf97254b",4171:"dd5cbba7fa50b21a",4183:"fbaeacea2b0845b7",4224:"70311ea3fdbf63a3",4294:"2771f6bcd50e749a",4392:"f52feeb107ecedbc",4406:"b8245874c4dfe3db",4463:"c8c61474985c056d",4503:"b10403fc0fd92932",4567:"e3bc5ece25e480a1",4591:"b92dbeccd5a67198",4612:"14fce41da64da6ce",4699:"d99e88eabd09d4e3",5006:"8f3d51853a4b00b0",5100:"839badd2e9761886",5120:"c66fdf70d6f3bb34",5197:"71bc23e14aa679b8",5222:"549a08c827f36579",5640:"61729b8443860eae",5695:"154356879c37cadc",5712:"0da3ec4ee3dda8e0",5887:"f196a8a929562fc0",5949:"b1263d576573143d",5959:"bf2d61772e40c8f7",6024:"37ec858fd81a0171",6086:"c23f096118ac938c",6301:"2400da12269d8d6e",6433:"3c86d1ff92782079",6674:"688d65923f438266",7030:"3d04e4e40abd6292",7076:"655a21d09248e098",7179:"d8123c1b865a5ee2",7240:"098e19418e173771",7278:"bf542500b6fca113",7372:"956bc52f14c40929",7428:"089674a59a6946a8",7720:"ead22ac530e4aea7",7916:"cc675e21950c3d41",8066:"29601e0daf33894d",8193:"52a169baf245de01",8314:"fcb70a56cc0fe6b0",8477:"26028d5d75be9cb8",8584:"d26666fed62ca671",8592:"c737cf8c95c907c0",8622:"2b42193f44a0ffc7",8729:"570100f8f6b5a483",8805:"bb5cc294530fb5ff",8814:"f7d581f799e514dd",8970:"34750c838e62b923",9061:"bee89fae6a61b4da",9132:"7a4e12bf87e29707",9303:"53297dbfd819e9c9",9329:"c76198334f717402",9344:"c75e08eb7e33f18b",9977:"dfb6af23e31fcb21"}[e]+".js"),f.miniCssF=e=>{},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="app:";f.l=(a,d,b,r)=>{if(e[a])e[a].push(d);else{var c,l;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{c.onerror=c.onload=null,clearTimeout(p);var _=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),_&&_.forEach(h=>h(u)),y)return y(u)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),l&&document.head.appendChild(c)}}})(),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;f.tt=()=>(void 0===e&&(e={createScriptURL:t=>t},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),f.tu=e=>f.tt().createScriptURL(e),f.p="",(()=>{var e={9121:0};f.f.j=(d,b)=>{var r=f.o(e,d)?e[d]:void 0;if(0!==r)if(r)b.push(r[2]);else if(9121!=d){var c=new Promise((o,s)=>r=e[d]=[o,s]);b.push(r[2]=c);var l=f.p+f.u(d),n=new Error;f.l(l,o=>{if(f.o(e,d)&&(0!==(r=e[d])&&(e[d]=void 0),r)){var s=o&&("load"===o.type?"missing":o.type),p=o&&o.target&&o.target.src;n.message="Loading chunk "+d+" failed.\n("+s+": "+p+")",n.name="ChunkLoadError",n.type=s,n.request=p,r[1](n)}},"chunk-"+d,d)}else e[d]=0},f.O.j=d=>0===e[d];var t=(d,b)=>{var n,i,[r,c,l]=b,o=0;if(r.some(p=>0!==e[p])){for(n in c)f.o(c,n)&&(f.m[n]=c[n]);if(l)var s=l(f)}for(d&&d(b);o{"use strict";var e,v={},g={};function f(e){var t=g[e];if(void 0!==t)return t.exports;var a=g[e]={id:e,loaded:!1,exports:{}};return v[e].call(a.exports,a,a.exports,f),a.loaded=!0,a.exports}f.m=v,e=[],f.O=(t,a,d,b)=>{if(!a){var c=1/0;for(r=0;r=b)&&Object.keys(f.O).every(u=>f.O[u](a[n]))?a.splice(n--,1):(l=!1,b0&&e[r-1][2]>b;r--)e[r]=e[r-1];e[r]=[a,d,b]},f.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return f.d(t,{a:t}),t},(()=>{var t,e=Object.getPrototypeOf?a=>Object.getPrototypeOf(a):a=>a.__proto__;f.t=function(a,d){if(1&d&&(a=this(a)),8&d||"object"==typeof a&&a&&(4&d&&a.__esModule||16&d&&"function"==typeof a.then))return a;var b=Object.create(null);f.r(b);var r={};t=t||[null,e({}),e([]),e(e)];for(var c=2&d&&a;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach(l=>r[l]=()=>a[l]);return r.default=()=>a,f.d(b,r),b}})(),f.d=(e,t)=>{for(var a in t)f.o(t,a)&&!f.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},f.f={},f.e=e=>Promise.all(Object.keys(f.f).reduce((t,a)=>(f.f[a](e,t),t),[])),f.u=e=>(({2076:"common",7278:"polyfills-dom",9329:"polyfills-core-js"}[e]||e)+"."+{101:"b61200e5155d34ee",441:"e6b1a85717016aa1",477:"4d01f7ea8fb587bc",604:"d4b5c1afc9ff3a07",771:"7fd9f687f0594b31",786:"15f2026846e1c0f4",964:"25217b0e09147441",1049:"2c987ff65f55c61a",1102:"56d892f823cb514e",1177:"7ba9e57140ca43d5",1227:"caeaa0e1fff748b5",1433:"2c059f00cb042b4f",1577:"f78a0447c8f41a1b",1983:"5210d513508bd34c",2075:"f919952f47beca5b",2076:"d5afa357a12054a6",2113:"0c87c15ab9a91af5",2144:"1466920522110c0f",2348:"20a86cac51a9a09a",2375:"0d7df3c398a32c3b",2415:"da41a053ff8683bc",2560:"97b47ff4ff479f07",2628:"b5b3b9d76e09f1e2",2648:"2ccda6362de2145a",2885:"6cc30bddac52cb25",2924:"804f1920724ce014",2937:"aa2ee25b0084be07",2982:"aa513e7ab5d121b6",3066:"1a60873367cf408d",3119:"bff9b09523e2d965",3162:"0ec9926637ab8977",3506:"1e89bee134eda505",3511:"b2a5b41a523ba553",3558:"7582aa5359a71327",3574:"edec9cbaff66e512",3780:"bd8da0556bbf53cc",3814:"ff9ab654cf97254b",4171:"dd5cbba7fa50b21a",4183:"fbaeacea2b0845b7",4224:"70311ea3fdbf63a3",4294:"2771f6bcd50e749a",4392:"073cef8be6bceea5",4406:"b8245874c4dfe3db",4463:"c8c61474985c056d",4503:"b10403fc0fd92932",4567:"e3bc5ece25e480a1",4591:"b92dbeccd5a67198",4612:"14fce41da64da6ce",4699:"d99e88eabd09d4e3",5006:"8f3d51853a4b00b0",5100:"839badd2e9761886",5120:"c66fdf70d6f3bb34",5197:"71bc23e14aa679b8",5222:"549a08c827f36579",5640:"61729b8443860eae",5695:"154356879c37cadc",5712:"0da3ec4ee3dda8e0",5887:"f196a8a929562fc0",5949:"b1263d576573143d",5959:"bf2d61772e40c8f7",6024:"37ec858fd81a0171",6086:"c23f096118ac938c",6301:"2400da12269d8d6e",6433:"3c86d1ff92782079",6674:"688d65923f438266",7030:"3d04e4e40abd6292",7076:"655a21d09248e098",7179:"d8123c1b865a5ee2",7240:"098e19418e173771",7278:"bf542500b6fca113",7372:"956bc52f14c40929",7428:"089674a59a6946a8",7720:"ead22ac530e4aea7",7916:"cc675e21950c3d41",8066:"29601e0daf33894d",8193:"52a169baf245de01",8314:"fcb70a56cc0fe6b0",8477:"26028d5d75be9cb8",8584:"d26666fed62ca671",8592:"c737cf8c95c907c0",8622:"2b42193f44a0ffc7",8729:"570100f8f6b5a483",8805:"bb5cc294530fb5ff",8814:"f7d581f799e514dd",8970:"34750c838e62b923",9061:"bee89fae6a61b4da",9132:"7a4e12bf87e29707",9303:"53297dbfd819e9c9",9329:"c76198334f717402",9344:"c75e08eb7e33f18b",9977:"dfb6af23e31fcb21"}[e]+".js"),f.miniCssF=e=>{},f.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="app:";f.l=(a,d,b,r)=>{if(e[a])e[a].push(d);else{var c,l;if(void 0!==b)for(var n=document.getElementsByTagName("script"),i=0;i{c.onerror=c.onload=null,clearTimeout(p);var _=e[a];if(delete e[a],c.parentNode&&c.parentNode.removeChild(c),_&&_.forEach(h=>h(u)),y)return y(u)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=s.bind(null,c.onerror),c.onload=s.bind(null,c.onload),l&&document.head.appendChild(c)}}})(),f.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;f.tt=()=>(void 0===e&&(e={createScriptURL:t=>t},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),f.tu=e=>f.tt().createScriptURL(e),f.p="",(()=>{var e={9121:0};f.f.j=(d,b)=>{var r=f.o(e,d)?e[d]:void 0;if(0!==r)if(r)b.push(r[2]);else if(9121!=d){var c=new Promise((o,s)=>r=e[d]=[o,s]);b.push(r[2]=c);var l=f.p+f.u(d),n=new Error;f.l(l,o=>{if(f.o(e,d)&&(0!==(r=e[d])&&(e[d]=void 0),r)){var s=o&&("load"===o.type?"missing":o.type),p=o&&o.target&&o.target.src;n.message="Loading chunk "+d+" failed.\n("+s+": "+p+")",n.name="ChunkLoadError",n.type=s,n.request=p,r[1](n)}},"chunk-"+d,d)}else e[d]=0},f.O.j=d=>0===e[d];var t=(d,b)=>{var n,i,[r,c,l]=b,o=0;if(r.some(p=>0!==e[p])){for(n in c)f.o(c,n)&&(f.m[n]=c[n]);if(l)var s=l(f)}for(d&&d(b);o