diff --git a/src/app/appConstants.ts b/src/app/appConstants.ts
index 0b440522..ca051b06 100644
--- a/src/app/appConstants.ts
+++ b/src/app/appConstants.ts
@@ -205,6 +205,7 @@ export class MimeType {
'application/vnd.ekstep.html-archive'
];
public static readonly YOUTUBE = "video/x-youtube"
+ static LINK: string;
}
export const regDiksha = [{
diff --git a/src/app/pages/home/home.page.html b/src/app/pages/home/home.page.html
index 849e44f7..bd0d34bf 100644
--- a/src/app/pages/home/home.page.html
+++ b/src/app/pages/home/home.page.html
@@ -57,8 +57,8 @@
-
-
+
+
+
+
{{content.metaData.name |translate}}
@@ -76,4 +78,4 @@
-->
-
\ No newline at end of file
+
diff --git a/src/app/pages/playlist-details/playlist-details.page.html b/src/app/pages/playlist-details/playlist-details.page.html
index bab66882..56a9627f 100644
--- a/src/app/pages/playlist-details/playlist-details.page.html
+++ b/src/app/pages/playlist-details/playlist-details.page.html
@@ -19,8 +19,10 @@
-
-
+
+
+
+
-
\ No newline at end of file
+
diff --git a/src/app/services/api/http.capacitor.adapter.ts b/src/app/services/api/http.capacitor.adapter.ts
index c71fc6e4..58ca6419 100644
--- a/src/app/services/api/http.capacitor.adapter.ts
+++ b/src/app/services/api/http.capacitor.adapter.ts
@@ -79,6 +79,11 @@ export class HttpCapacitorAdapter implements HttpClient {
return this.invokeRequest(ApiHttpRequestType.POST, baseUrl + path, body, headers);
}
+ isGoogleDriveLink(url: string): boolean {
+ return url.includes('drive.google.com') || url.includes('docs.google.com');
+ }
+
+
checkMimieType(url: any)
{
@@ -92,10 +97,19 @@ export class HttpCapacitorAdapter implements HttpClient {
return 'video/x-youtube'; // // YouTube video
} else if (mediaUrl.endsWith(".mp4")) {
return 'video/mp4'; // MP4 video
- } else {
+ } else if(this.isGoogleDriveLink(url)){
+ return 'text/html';
+ }
+ else{
return 'text/html';
}
}
+
+ getDriveFileId(url : string) {
+ const regex = /\/d\/([a-zA-Z0-9_-]+)\//;
+ const match = url.match(regex);
+ return match ? match[1] : null;
+ }
private invokeRequest(type: ApiHttpRequestType, url: string, parametersOrData: any,
headers: { [key: string]: string }): Observable {
@@ -119,7 +133,7 @@ export class HttpCapacitorAdapter implements HttpClient {
requestOptions['params'] = parametersOrData;
}
- this.http.request(requestOptions).then((response: HttpResponse) => {
+ this.http.request(requestOptions).then((response: HttpResponse) => {
response.data = response.data;
let receivedData = response.data;
@@ -129,7 +143,9 @@ export class HttpCapacitorAdapter implements HttpClient {
if (receivedData.data && receivedData.data.djp_contents !== null && receivedData.data.djp_contents !== undefined) {
receivedData.data.djp_contents.forEach((item : any) => {
// let mimetype = item?.url ? this.checkMimieType(item?.url) : 'text/html';
- let mimetype = this.checkMimieType(item?.url);
+ let url = this.isGoogleDriveLink(item?.url) ? item?.url.replace('/view', '/preview'): item?.url;
+ let thumbnail = item?.thumbnail != null && this.isGoogleDriveLink(item?.thumbnail) ? "" : "";
+ let mimetype = this.checkMimieType(url);
// Traverse through the items array of each provider
const content: SearchContentMetaData = {
agegroup: item.agegroup,
@@ -146,11 +162,11 @@ export class HttpCapacitorAdapter implements HttpClient {
provider_name: item.provider_name,
name: item.name,
description: item.description,
- thumbnail: item.thumbnail,
+ thumbnail: thumbnail,
domain: item.domain,
unique_id: item.unique_id,
language: item.language,
- url: item.url,
+ url: url,
sourceOrganisation: item.sourceorg,
midea: item.midea,
keywords: item.keywords,
diff --git a/src/app/services/content/util/content.util.ts b/src/app/services/content/util/content.util.ts
index f7c376cf..c5cef142 100644
--- a/src/app/services/content/util/content.util.ts
+++ b/src/app/services/content/util/content.util.ts
@@ -53,6 +53,9 @@ export class ContentUtil {
case 'youtube':
mimeType = MimeType.YOUTUBE
break;
+ case 'link':
+ mimeType = MimeType.LINK
+ break;
default:
break;
}
@@ -65,8 +68,9 @@ export class ContentUtil {
mp3: '/assets/images/Audio.png',
mp4: '/assets/images/Video.png',
webm: '/assets/images/Video.png',
- pdf: '/assets/images/PDF.png'
+ pdf: '/assets/images/PDF.png',
+ link: '/assets/images/LINK.png'
}
return mimeTypes[mimeType];
}
-}
\ No newline at end of file
+}
diff --git a/src/assets/appConfig/learningresources.json b/src/assets/appConfig/learningresources.json
index b5886976..691f16c9 100644
--- a/src/assets/appConfig/learningresources.json
+++ b/src/assets/appConfig/learningresources.json
@@ -2,7 +2,7 @@
"tenantLogo": "assets/school/P_128x128.svg",
"siteName": "Prajayatna",
"siteByLine": "We learn. We live",
- "splashImage": "assets/school/P_152x152.png",
+ "splashImage": "assets/school/P_512x512.png",
"bots": ["teacher"],
"defaultContentFilter": [
{
diff --git a/www/1983.565cb86a9a87ccac.js b/www/1983.565cb86a9a87ccac.js
new file mode 100644
index 00000000..e4a995e3
--- /dev/null
+++ b/www/1983.565cb86a9a87ccac.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1983],{334:(S,_,r)=>{r.d(_,{s3:()=>f});const f=(0,r(5083).F3)("Keyboard")},1983:(S,_,r)=>{r.r(_),r.d(_,{SearchPageModule:()=>q});var g=r(177),u=r(9417),m=r(8974),f=r(3021),d=r(467),M=r(56),x=r(2849),b=r(9441),O=r(3649),D=r(334),t=r(4438),v=r(5402);let k=(()=>{var o;class h{constructor(n){this.modalCtrl=n}ngOnInit(){}hadleAudioSearch(){this.modalCtrl.dismiss("search")}}return(o=h).\u0275fac=function(n){return new(n||o)(t.rXU(m.W3))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-recording-alert"]],decls:15,vars:6,consts:[["lines","none"],[1,"record_audio"],[1,"msg_speak"],[1,"circle_ripple"],[1,"circle_ripple-2"],[1,"circle"],[1,"circle-2"],["aria-hidden","true","src","assets/icon/mic.svg"],[1,"search_div"],[3,"click"]],template:function(n,i){1&n&&(t.j41(0,"div")(1,"ion-item",0)(2,"ion-label",1),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"div",2),t.nrm(6,"div",3)(7,"div",4),t.j41(8,"div",5)(9,"div",6),t.nrm(10,"ion-icon",7),t.k0s()()(),t.j41(11,"div",8)(12,"ion-button",9),t.bIt("click",function(){return i.hadleAudioSearch()}),t.EFF(13),t.nI1(14,"translate"),t.k0s()()()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,2,"Speak...")),t.R7$(10),t.JRh(t.bMT(14,4,"Search")))},dependencies:[m.Jm,m.iq,m.uz,m.he,v.D9],styles:[".record_audio[_ngcontent-%COMP%]{font-size:20px;margin:.5rem 0 0 .5rem}.search_div[_ngcontent-%COMP%]{position:absolute;top:33%;left:50%;transform:translate(-50%,-50%)}.msg_speak[_ngcontent-%COMP%]{position:absolute;left:40%;top:-2%;bottom:100%;transform:translate(-50%)}.msg_speak[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:2rem!important;width:2rem!important}.circle_ripple[_ngcontent-%COMP%]{height:50px;width:50px;background:#36b37e;border-radius:50%;animation:_ngcontent-%COMP%_ripple 2s infinite;position:absolute;left:10px;top:110px;z-index:0}.circle_ripple-2[_ngcontent-%COMP%]{height:50px;width:50px;background:#36b37e;border-radius:50%;animation:_ngcontent-%COMP%_ripple-2 2s infinite;position:absolute;left:10px;top:110px}@keyframes _ngcontent-%COMP%_ripple{0%{transform:scale(1)}50%{transform:scale(2);opacity:.3}to{transform:scale(1)}}@keyframes _ngcontent-%COMP%_ripple-2{0%{transform:scale(1)}50%{transform:scale(2.5);opacity:.3}to{transform:scale(1)}}.circle[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:50%;background:#eaeaea;position:absolute;left:5px;top:105px}.circle-2[_ngcontent-%COMP%]{width:50px;height:50px;border-radius:50%;background:#fff;position:absolute;left:5px;top:5px;box-shadow:0 0 8px #00000029;z-index:2}.circle-2[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:20px;position:absolute;left:10px;top:10px}"]}),h})();var T=r(8666),w=r(7420),P=r(5293),y=r(2904),R=r(9836),A=r(2186),I=r(444),j=r(5173),B=r(2297),G=r(4254);const F=["searchInput"],$=()=>[0,1,2,3,4,5,6,7,8];function X(o,h){1&o&&(t.j41(0,"ion-item",16)(1,"div",17),t.nrm(2,"app-skeleton-item",18),t.k0s(),t.j41(3,"ion-label",19),t.nrm(4,"app-skeleton-item",20)(5,"app-skeleton-item",21),t.k0s(),t.j41(6,"ion-label",22),t.nrm(7,"app-skeleton-item",23),t.k0s()())}function U(o,h){1&o&&(t.j41(0,"ion-list",12)(1,"ion-item",13)(2,"ion-label",14),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.DNE(5,X,8,0,"ion-item",15),t.k0s()),2&o&&(t.R7$(3),t.JRh(t.bMT(4,2,"Searching...")),t.R7$(2),t.Y8G("ngForOf",t.lJ4(4,$)))}function N(o,h){if(1&o&&(t.j41(0,"ion-list")(1,"ion-item",13)(2,"ion-label",24),t.EFF(3),t.nI1(4,"translate"),t.k0s()()()),2&o){const a=t.XpG();t.R7$(3),t.JRh(t.bMT(4,1,a.errMsg))}}function Y(o,h){if(1&o&&t.nrm(0,"img",34),2&o){const a=t.XpG().$implicit;t.Y8G("src",null!=a&&null!=a.metaData&&a.metaData.thumbnail&&!a.metaData.identifier.startsWith("do_")?null==a||null==a.metaData?null:a.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function E(o,h){if(1&o&&t.nrm(0,"img",35),2&o){const a=t.XpG().$implicit;t.Y8G("appThumbnail",null==a?null:a.metaData)}}function L(o,h){if(1&o&&t.nrm(0,"img",34),2&o){const a=t.XpG().$implicit;t.Y8G("src",null!=a&&null!=a.metaData&&a.metaData.thumbnail&&!a.metaData.identifier.startsWith("do_")?null==a||null==a.metaData?null:a.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function V(o,h){if(1&o&&t.nrm(0,"img",34),2&o){const a=t.XpG().$implicit;t.Y8G("src",null!=a&&null!=a.metaData&&a.metaData.thumbnail&&!a.metaData.identifier.startsWith("do_")?null==a||null==a.metaData?null:a.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function K(o,h){1&o&&t.nrm(0,"img",36)}function H(o,h){if(1&o){const a=t.RV6();t.j41(0,"ion-item",26),t.bIt("click",function(i){const e=t.eBV(a).$implicit,s=t.XpG(2);return t.Njj(s.playContent(i,e))}),t.j41(1,"div",27),t.DNE(2,Y,1,1,"img",28)(3,E,1,1,"img",29)(4,L,1,1,"img",28)(5,V,1,1,"img",28)(6,K,1,0,"img",30),t.k0s(),t.j41(7,"div",31)(8,"div",32),t.EFF(9),t.k0s(),t.j41(10,"ion-icon",33),t.bIt("click",function(i){const e=t.eBV(a).$implicit;return t.XpG(2).moreOtions(e),t.Njj(i.stopPropagation())}),t.k0s()()()}if(2&o){const a=h.$implicit,n=t.XpG(2);t.R7$(2),t.Y8G("ngIf",a.metaData.mimetype===n.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",(null==a||null==a.metaData?null:a.metaData.mimetype)===n.mimeType.YOUTUBE&&!a.play),t.R7$(),t.Y8G("ngIf",a.metaData.mimetype===n.mimeType.MP4),t.R7$(),t.Y8G("ngIf",a.metaData.mimetype===n.mimeType.PDF),t.R7$(),t.Y8G("ngIf",(null==a||null==a.metaData?null:a.metaData.mimetype)===(null==n.mimeType?null:n.mimeType.LINK)),t.R7$(3),t.JRh(null==a.metaData?null:a.metaData.name)}}function W(o,h){if(1&o&&(t.j41(0,"ion-list"),t.DNE(1,H,11,6,"ion-item",25),t.k0s()),2&o){const a=t.XpG();t.R7$(),t.Y8G("ngForOf",a.searchContentResult)}}const J=[{path:"",component:(()=>{var o;class h{constructor(n,i,e,s,l,c,p,C,tt,et){this.headerService=n,this.location=i,this.record=e,this.searchApi=s,this.modalCtrl=l,this.contentService=c,this.router=p,this.telemetryGeneratorService=C,this.storage=tt,this.platformLocation=et,this.showSheenAnimation=!1,this.searchKeywords="",this.searchContentResult=[],this.optModalOpen=!1,this.mimeType=M.Cc,this.noSearchData=!1,this.errMsg="",this.modalPresent=!1,this.disabled=!1,this.startRecording=!1,this.duration=0,this.durationDisplay="",this.platformLocation.onPopState(()=>{console.log("Back button pressed")})}onPopState(n){this.location.back()}tabViewWillEnter(){this.headerService.hideHeader(),this.headerService.showStatusBar(!1)}ngOnInit(){}navigateBack(){this.router.navigate(["/tabs/home"])}ionViewWillEnter(){this.headerService.hideHeader(),this.headerService.showStatusBar(!1)}ngOnDestroy(){var n=this;return(0,d.A)(function*(){const i=yield n.modalCtrl.getTop();i&&i.dismiss()})()}handleSearch(n,i=!1){var e=this;return(0,d.A)(function*(){if(i){e.showSheenAnimation=!0;let c=yield e.makeSearchContextApiCall(n,i);null!=c&&c.audioText?(c.audioText&&(e.searchKeywords=c.audioText),e.handleContentSearch(c,i)):(e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="Sorry, please try again!")}else if(e.searchKeywords.replace(/\s/g,"").length>0){var s;e.showSheenAnimation=!0,D.s3.hide();let c=yield e.makeSearchContextApiCall(e.searchKeywords,i);var l;null!=c&&null!==(s=c.input)&&void 0!==s&&s.sourceText&&(e.searchKeywords=null==c||null===(l=c.input)||void 0===l?void 0:l.sourceText),e.handleContentSearch(c,!1)}})()}makeSearchContextApiCall(n,i){var e=this;return(0,d.A)(function*(){return yield e.searchApi.postSearchContext({text:n,currentLang:yield e.storage.getData("lang")},i).then(s=>s).catch(s=>{var l;i?(e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="unsupported language!"==(null==s||null===(l=s.body)||void 0===l||null===(l=l.detail)||void 0===l?void 0:l.toLowerCase())?"Sorry, this language is not currently supported.":"Sorry, please try again!"):e.handleContentSearch("",!1)})})()}handleContentSearch(n,i=!1){var e=this;return(0,d.A)(function*(){var s;let l={name:null!==(s=null==n?void 0:n.context)&&void 0!==s?s:e.searchKeywords};yield e.searchApi.postContentSearch(l,yield e.storage.getData("lang")).then(c=>{if(e.telemetryGeneratorService.generateSearchTelemetry(i?"audio":"text",i?"":e.searchKeywords,c.length,"search",""),e.disabled=!1,c.length>0){e.showSheenAnimation=!1,e.noSearchData=!1;let p={};e.searchContentResult=[],c.forEach(C=>{p={},p.source="djp",p.sourceType="djp-content",p.metaData=C,e.searchContentResult.push(p)})}else e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="No Result"}).catch(c=>{var p;e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="unsupported language!"==(null==c||null===(p=c.body)||void 0===p||null===(p=p.detail)||void 0===p?void 0:p.toLowerCase())?"Sorry, this language is not currently supported.":"Sorry, please try again!"})})()}moreOtions(n){var i=this;return(0,d.A)(function*(){let e;i.optModalOpen||(i.optModalOpen=!0,e=yield i.modalCtrl.create({component:x.q,componentProps:{content:n},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield e.present()),e.onDidDismiss().then(function(){var s=(0,d.A)(function*(l){i.optModalOpen=!1,l.data&&"addToPitara"===l.data.type?i.addContentToMyPitara(l.data.content||n):l.data&&"like"==l.data.type&&(i.contentService.likeContent(l.data.content||n,"guest",!0),l.data.content.metaData.isLiked&&(yield T.Q.play({assetId:"windchime"}),(0,w.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})),i.telemetryGeneratorService.generateInteractTelemetry("TOUCH","content-liked","search","search",new O.$i(null==n?void 0:n.metaData.identifier,null==n?void 0:n.metaData.mimetype,"")))});return function(l){return s.apply(this,arguments)}}())})()}addContentToMyPitara(n){var i=this;return(0,d.A)(function*(){const e=yield i.modalCtrl.create({component:b.$,componentProps:{content:n},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield e.present(),e.onWillDismiss().then(s=>{})})()}playContent(n,i){var e=this;return(0,d.A)(function*(){e.contentService.markContentAsViewed(i),yield e.router.navigate(["/player"],{state:{content:i}})})()}onLongPressStart(){var n=this;return(0,d.A)(function*(){n.searchKeywords="",(yield(yield P.R.hasAudioRecordingPermission()).value)?(n.record.startRecognition("search"),n.disabled=!0,n.startRecording=!0,n.presentPopover(event),n.calculation()):yield P.R.requestAudioRecordingPermission()})()}presentPopover(n){var i=this;return(0,d.A)(function*(){i.modal=yield i.modalCtrl.create({component:k,cssClass:"sheet-modal",breakpoints:[.4],showBackdrop:!1,initialBreakpoint:.4,handle:!1,handleBehavior:"none"}),i.modalPresent=!0,yield i.modal.present(),yield i.modal.onDidDismiss().then(e=>{"search"===e.data&&i.onLongPressEnd()})})()}calculation(){if(!this.startRecording)return this.duration=0,void(this.durationDisplay="");this.duration+=1;const n=Math.floor(this.duration/60),i=(this.duration%60).toString().padStart(2,"0");this.durationDisplay=`${n}:${i}`,this.durationDisplay>"0:05"&&this.onLongPressEnd(),setTimeout(()=>{this.calculation()},1e3)}onLongPressEnd(){var n=this;return(0,d.A)(function*(){yield n.record.stopRecognition("search").then(function(){var i=(0,d.A)(function*(e){n.modalPresent&&(n.modalPresent=!1,yield n.modal.dismiss()),n.startRecording=!1,n.handleSearch(e,!0)});return function(e){return i.apply(this,arguments)}}())})()}}return(o=h).\u0275fac=function(n){return new(n||o)(t.rXU(y.Ux),t.rXU(g.aZ),t.rXU(R.X),t.rXU(A.S),t.rXU(m.W3),t.rXU(I.f),t.rXU(f.Ix),t.rXU(j.O),t.rXU(y.n$),t.rXU(g.Vw))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-search"]],viewQuery:function(n,i){if(1&n&&t.GBs(F,5),2&n){let e;t.mGM(e=t.lsd())&&(i.searchBar=e.first)}},hostBindings:function(n,i){1&n&&t.bIt("popstate",function(s){return i.onPopState(s)},!1,t.tSv)},decls:16,vars:9,consts:[["searchInput",""],[1,"custom-header"],[1,"header-content"],["slot","start",1,"start-icon"],[3,"click"],["aria-hidden","true","src","assets/icon/back.svg"],["type","search","fill","outline","shape","round",3,"keyup.enter","ngModelChange","disabled","ngModel","placeholder"],["slot","end"],[3,"click","disabled"],["aria-hidden","true","src","assets/icon/mic.svg"],["class","m-n",4,"ngIf"],[4,"ngIf"],[1,"m-n"],["lines","none"],[1,"ion-text-center"],["lines","none","style","padding: 5px;",4,"ngFor","ngForOf"],["lines","none",2,"padding","5px"],["item-start","",2,"border-radius","16px"],["height","100px","width","200px","radius","16px",2,"border-radius","16px"],[2,"padding-left","10px"],["height","12px","width","100px",2,"padding-bottom","8px"],["height","12px","width","80px",2,"padding-bottom","8px"],[2,"padding-left","30px"],["height","12px","width","10px",2,"padding-bottom","8px"],[1,"no-data"],["lines","none",3,"click",4,"ngFor","ngForOf"],["lines","none",3,"click"],[1,"card__img"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],["src","assets/images/LINK.png","alt","",4,"ngIf"],[1,"card__metadata"],[1,"card__title"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",3,"click"],["alt","",3,"src"],["appThumbnail","","alt","",3,"appThumbnail"],["src","assets/images/LINK.png","alt",""]],template:function(n,i){if(1&n){const e=t.RV6();t.j41(0,"ion-header")(1,"ion-toolbar",1)(2,"div",2)(3,"ion-buttons",3)(4,"ion-button",4),t.bIt("click",function(){return t.eBV(e),t.Njj(i.navigateBack())}),t.nrm(5,"ion-icon",5),t.k0s()(),t.j41(6,"ion-input",6,0),t.nI1(8,"translate"),t.bIt("keyup.enter",function(){return t.eBV(e),t.Njj(i.handleSearch())})("ngModelChange",function(){return t.eBV(e),t.Njj(!i.searchContentResult)}),t.mxI("ngModelChange",function(l){return t.eBV(e),t.DH7(i.searchKeywords,l)||(i.searchKeywords=l),t.Njj(l)}),t.k0s(),t.j41(9,"ion-buttons",7)(10,"ion-button",8),t.bIt("click",function(){return t.eBV(e),t.Njj(i.onLongPressStart())}),t.nrm(11,"ion-icon",9),t.k0s()()()()(),t.j41(12,"ion-content"),t.DNE(13,U,6,5,"ion-list",10)(14,N,5,3,"ion-list",11)(15,W,2,1,"ion-list",11),t.k0s()}2&n&&(t.R7$(6),t.Y8G("disabled",i.disabled),t.R50("ngModel",i.searchKeywords),t.Y8G("placeholder",t.bMT(8,7,"SEARCH_HINT")),t.R7$(4),t.Y8G("disabled",i.disabled),t.R7$(3),t.Y8G("ngIf",i.showSheenAnimation),t.R7$(),t.Y8G("ngIf",!i.showSheenAnimation&&i.noSearchData),t.R7$(),t.Y8G("ngIf",!i.showSheenAnimation&&i.searchContentResult.length>0))},dependencies:[g.Sq,g.bT,u.BC,u.vS,m.Jm,m.QW,m.W9,m.eU,m.iq,m.$w,m.uz,m.he,m.nf,m.ai,m.Gw,B.O,G.g,v.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}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}ion-header[_ngcontent-%COMP%]{box-shadow:none}ion-header[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{color:var(--ion-color-primary)}ion-content[_ngcontent-%COMP%]{--padding-top: 0 !important}.header-content[_ngcontent-%COMP%]{display:flex} .toolbar-container{padding:0!important;min-height:auto}ion-input[_ngcontent-%COMP%]{margin-top:.5rem;min-height:3rem!important;--border-color: var(--ion-color-medium) !important;--highlight-color: var(--ion-color-secondary-contrast) !important}ion-icon[_ngcontent-%COMP%]{width:1.75rem;height:1.75rem;margin-left:0}.card__img[_ngcontent-%COMP%]{width:40%;height:auto}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:90%!important}.card__metadata[_ngcontent-%COMP%]{padding-top:0;padding-left:1rem;align-items:center;width:60%;height:90%}ion-list[_ngcontent-%COMP%]{background-color:transparent}ion-item[_ngcontent-%COMP%]{--background: transparent}.search_text[_ngcontent-%COMP%]{text-align:center}"]}),h})()}];let z=(()=>{var o;class h{}return(o=h).\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[f.iI.forChild(J),f.iI]}),h})();var Q=r(3721),Z=r(5553);let q=(()=>{var o;class h{}return(o=h).\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[g.MD,u.YN,m.bv,z,v.h,Z.h,Q.h]}),h})()}}]);
\ No newline at end of file
diff --git a/www/1983.76c9c761d810d293.js b/www/1983.76c9c761d810d293.js
deleted file mode 100644
index e500cd5b..00000000
--- a/www/1983.76c9c761d810d293.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1983],{334:(S,_,r)=>{r.d(_,{s3:()=>f});const f=(0,r(5083).F3)("Keyboard")},1983:(S,_,r)=>{r.r(_),r.d(_,{SearchPageModule:()=>q});var g=r(177),u=r(9417),m=r(8974),f=r(3021),d=r(467),M=r(56),x=r(2849),b=r(9441),O=r(3649),D=r(334),t=r(4438),v=r(5402);let k=(()=>{var o;class h{constructor(n){this.modalCtrl=n}ngOnInit(){}hadleAudioSearch(){this.modalCtrl.dismiss("search")}}return(o=h).\u0275fac=function(n){return new(n||o)(t.rXU(m.W3))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-recording-alert"]],decls:15,vars:6,consts:[["lines","none"],[1,"record_audio"],[1,"msg_speak"],[1,"circle_ripple"],[1,"circle_ripple-2"],[1,"circle"],[1,"circle-2"],["aria-hidden","true","src","assets/icon/mic.svg"],[1,"search_div"],[3,"click"]],template:function(n,a){1&n&&(t.j41(0,"div")(1,"ion-item",0)(2,"ion-label",1),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.j41(5,"div",2),t.nrm(6,"div",3)(7,"div",4),t.j41(8,"div",5)(9,"div",6),t.nrm(10,"ion-icon",7),t.k0s()()(),t.j41(11,"div",8)(12,"ion-button",9),t.bIt("click",function(){return a.hadleAudioSearch()}),t.EFF(13),t.nI1(14,"translate"),t.k0s()()()),2&n&&(t.R7$(3),t.JRh(t.bMT(4,2,"Speak...")),t.R7$(10),t.JRh(t.bMT(14,4,"Search")))},dependencies:[m.Jm,m.iq,m.uz,m.he,v.D9],styles:[".record_audio[_ngcontent-%COMP%]{font-size:20px;margin:.5rem 0 0 .5rem}.search_div[_ngcontent-%COMP%]{position:absolute;top:33%;left:50%;transform:translate(-50%,-50%)}.msg_speak[_ngcontent-%COMP%]{position:absolute;left:40%;top:-2%;bottom:100%;transform:translate(-50%)}.msg_speak[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{height:2rem!important;width:2rem!important}.circle_ripple[_ngcontent-%COMP%]{height:50px;width:50px;background:#36b37e;border-radius:50%;animation:_ngcontent-%COMP%_ripple 2s infinite;position:absolute;left:10px;top:110px;z-index:0}.circle_ripple-2[_ngcontent-%COMP%]{height:50px;width:50px;background:#36b37e;border-radius:50%;animation:_ngcontent-%COMP%_ripple-2 2s infinite;position:absolute;left:10px;top:110px}@keyframes _ngcontent-%COMP%_ripple{0%{transform:scale(1)}50%{transform:scale(2);opacity:.3}to{transform:scale(1)}}@keyframes _ngcontent-%COMP%_ripple-2{0%{transform:scale(1)}50%{transform:scale(2.5);opacity:.3}to{transform:scale(1)}}.circle[_ngcontent-%COMP%]{width:60px;height:60px;border-radius:50%;background:#eaeaea;position:absolute;left:5px;top:105px}.circle-2[_ngcontent-%COMP%]{width:50px;height:50px;border-radius:50%;background:#fff;position:absolute;left:5px;top:5px;box-shadow:0 0 8px #00000029;z-index:2}.circle-2[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:20px;position:absolute;left:10px;top:10px}"]}),h})();var w=r(8666),T=r(7420),P=r(5293),y=r(2904),R=r(9836),A=r(2186),I=r(444),B=r(5173),j=r(2297),G=r(4254);const F=["searchInput"],$=()=>[0,1,2,3,4,5,6,7,8];function X(o,h){1&o&&(t.j41(0,"ion-item",16)(1,"div",17),t.nrm(2,"app-skeleton-item",18),t.k0s(),t.j41(3,"ion-label",19),t.nrm(4,"app-skeleton-item",20)(5,"app-skeleton-item",21),t.k0s(),t.j41(6,"ion-label",22),t.nrm(7,"app-skeleton-item",23),t.k0s()())}function U(o,h){1&o&&(t.j41(0,"ion-list",12)(1,"ion-item",13)(2,"ion-label",14),t.EFF(3),t.nI1(4,"translate"),t.k0s()(),t.DNE(5,X,8,0,"ion-item",15),t.k0s()),2&o&&(t.R7$(3),t.JRh(t.bMT(4,2,"Searching...")),t.R7$(2),t.Y8G("ngForOf",t.lJ4(4,$)))}function Y(o,h){if(1&o&&(t.j41(0,"ion-list")(1,"ion-item",13)(2,"ion-label",24),t.EFF(3),t.nI1(4,"translate"),t.k0s()()()),2&o){const i=t.XpG();t.R7$(3),t.JRh(t.bMT(4,1,i.errMsg))}}function E(o,h){if(1&o&&t.nrm(0,"img",33),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function N(o,h){if(1&o&&t.nrm(0,"img",34),2&o){const i=t.XpG().$implicit;t.Y8G("appThumbnail",null==i?null:i.metaData)}}function V(o,h){if(1&o&&t.nrm(0,"img",33),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function L(o,h){if(1&o&&t.nrm(0,"img",33),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function K(o,h){if(1&o&&t.nrm(0,"img",33),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/LINK.png",t.B4B)}}function W(o,h){if(1&o){const i=t.RV6();t.j41(0,"ion-item",26),t.bIt("click",function(a){const e=t.eBV(i).$implicit,s=t.XpG(2);return t.Njj(s.playContent(a,e))}),t.j41(1,"div",27),t.DNE(2,E,1,1,"img",28)(3,N,1,1,"img",29)(4,V,1,1,"img",28)(5,L,1,1,"img",28)(6,K,1,1,"img",28),t.k0s(),t.j41(7,"div",30)(8,"div",31),t.EFF(9),t.k0s(),t.j41(10,"ion-icon",32),t.bIt("click",function(a){const e=t.eBV(i).$implicit;return t.XpG(2).moreOtions(e),t.Njj(a.stopPropagation())}),t.k0s()()()}if(2&o){const i=h.$implicit,n=t.XpG(2);t.R7$(2),t.Y8G("ngIf",i.metaData.mimetype===n.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",(null==i||null==i.metaData?null:i.metaData.mimetype)===n.mimeType.YOUTUBE&&!i.play),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===n.mimeType.MP4),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===n.mimeType.PDF),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===n.mimeType.LINK),t.R7$(3),t.JRh(null==i.metaData?null:i.metaData.name)}}function H(o,h){if(1&o&&(t.j41(0,"ion-list"),t.DNE(1,W,11,6,"ion-item",25),t.k0s()),2&o){const i=t.XpG();t.R7$(),t.Y8G("ngForOf",i.searchContentResult)}}const J=[{path:"",component:(()=>{var o;class h{constructor(n,a,e,s,l,c,p,C,tt,et){this.headerService=n,this.location=a,this.record=e,this.searchApi=s,this.modalCtrl=l,this.contentService=c,this.router=p,this.telemetryGeneratorService=C,this.storage=tt,this.platformLocation=et,this.showSheenAnimation=!1,this.searchKeywords="",this.searchContentResult=[],this.optModalOpen=!1,this.mimeType=M.Cc,this.noSearchData=!1,this.errMsg="",this.modalPresent=!1,this.disabled=!1,this.startRecording=!1,this.duration=0,this.durationDisplay="",this.platformLocation.onPopState(()=>{console.log("Back button pressed")})}onPopState(n){this.location.back()}tabViewWillEnter(){this.headerService.hideHeader(),this.headerService.showStatusBar(!1)}ngOnInit(){}navigateBack(){this.router.navigate(["/tabs/home"])}ionViewWillEnter(){this.headerService.hideHeader(),this.headerService.showStatusBar(!1)}ngOnDestroy(){var n=this;return(0,d.A)(function*(){const a=yield n.modalCtrl.getTop();a&&a.dismiss()})()}handleSearch(n,a=!1){var e=this;return(0,d.A)(function*(){if(a){e.showSheenAnimation=!0;let c=yield e.makeSearchContextApiCall(n,a);null!=c&&c.audioText?(c.audioText&&(e.searchKeywords=c.audioText),e.handleContentSearch(c,a)):(e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="Sorry, please try again!")}else if(e.searchKeywords.replace(/\s/g,"").length>0){var s;e.showSheenAnimation=!0,D.s3.hide();let c=yield e.makeSearchContextApiCall(e.searchKeywords,a);var l;null!=c&&null!==(s=c.input)&&void 0!==s&&s.sourceText&&(e.searchKeywords=null==c||null===(l=c.input)||void 0===l?void 0:l.sourceText),e.handleContentSearch(c,!1)}})()}makeSearchContextApiCall(n,a){var e=this;return(0,d.A)(function*(){return yield e.searchApi.postSearchContext({text:n,currentLang:yield e.storage.getData("lang")},a).then(s=>s).catch(s=>{var l;a?(e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="unsupported language!"==(null==s||null===(l=s.body)||void 0===l||null===(l=l.detail)||void 0===l?void 0:l.toLowerCase())?"Sorry, this language is not currently supported.":"Sorry, please try again!"):e.handleContentSearch("",!1)})})()}handleContentSearch(n,a=!1){var e=this;return(0,d.A)(function*(){var s;let l={name:null!==(s=null==n?void 0:n.context)&&void 0!==s?s:e.searchKeywords};yield e.searchApi.postContentSearch(l,yield e.storage.getData("lang")).then(c=>{if(e.telemetryGeneratorService.generateSearchTelemetry(a?"audio":"text",a?"":e.searchKeywords,c.length,"search",""),e.disabled=!1,c.length>0){e.showSheenAnimation=!1,e.noSearchData=!1;let p={};e.searchContentResult=[],c.forEach(C=>{p={},p.source="djp",p.sourceType="djp-content",p.metaData=C,e.searchContentResult.push(p)})}else e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="No Result"}).catch(c=>{var p;e.disabled=!1,e.showSheenAnimation=!1,e.noSearchData=!0,e.searchContentResult=[],e.errMsg="unsupported language!"==(null==c||null===(p=c.body)||void 0===p||null===(p=p.detail)||void 0===p?void 0:p.toLowerCase())?"Sorry, this language is not currently supported.":"Sorry, please try again!"})})()}moreOtions(n){var a=this;return(0,d.A)(function*(){let e;a.optModalOpen||(a.optModalOpen=!0,e=yield a.modalCtrl.create({component:x.q,componentProps:{content:n},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield e.present()),e.onDidDismiss().then(function(){var s=(0,d.A)(function*(l){a.optModalOpen=!1,l.data&&"addToPitara"===l.data.type?a.addContentToMyPitara(l.data.content||n):l.data&&"like"==l.data.type&&(a.contentService.likeContent(l.data.content||n,"guest",!0),l.data.content.metaData.isLiked&&(yield w.Q.play({assetId:"windchime"}),(0,T.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","search","search",new O.$i(null==n?void 0:n.metaData.identifier,null==n?void 0:n.metaData.mimetype,"")))});return function(l){return s.apply(this,arguments)}}())})()}addContentToMyPitara(n){var a=this;return(0,d.A)(function*(){const e=yield a.modalCtrl.create({component:b.$,componentProps:{content:n},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield e.present(),e.onWillDismiss().then(s=>{})})()}playContent(n,a){var e=this;return(0,d.A)(function*(){e.contentService.markContentAsViewed(a),yield e.router.navigate(["/player"],{state:{content:a}})})()}onLongPressStart(){var n=this;return(0,d.A)(function*(){n.searchKeywords="",(yield(yield P.R.hasAudioRecordingPermission()).value)?(n.record.startRecognition("search"),n.disabled=!0,n.startRecording=!0,n.presentPopover(event),n.calculation()):yield P.R.requestAudioRecordingPermission()})()}presentPopover(n){var a=this;return(0,d.A)(function*(){a.modal=yield a.modalCtrl.create({component:k,cssClass:"sheet-modal",breakpoints:[.4],showBackdrop:!1,initialBreakpoint:.4,handle:!1,handleBehavior:"none"}),a.modalPresent=!0,yield a.modal.present(),yield a.modal.onDidDismiss().then(e=>{"search"===e.data&&a.onLongPressEnd()})})()}calculation(){if(!this.startRecording)return this.duration=0,void(this.durationDisplay="");this.duration+=1;const n=Math.floor(this.duration/60),a=(this.duration%60).toString().padStart(2,"0");this.durationDisplay=`${n}:${a}`,this.durationDisplay>"0:05"&&this.onLongPressEnd(),setTimeout(()=>{this.calculation()},1e3)}onLongPressEnd(){var n=this;return(0,d.A)(function*(){yield n.record.stopRecognition("search").then(function(){var a=(0,d.A)(function*(e){n.modalPresent&&(n.modalPresent=!1,yield n.modal.dismiss()),n.startRecording=!1,n.handleSearch(e,!0)});return function(e){return a.apply(this,arguments)}}())})()}}return(o=h).\u0275fac=function(n){return new(n||o)(t.rXU(y.Ux),t.rXU(g.aZ),t.rXU(R.X),t.rXU(A.S),t.rXU(m.W3),t.rXU(I.f),t.rXU(f.Ix),t.rXU(B.O),t.rXU(y.n$),t.rXU(g.Vw))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-search"]],viewQuery:function(n,a){if(1&n&&t.GBs(F,5),2&n){let e;t.mGM(e=t.lsd())&&(a.searchBar=e.first)}},hostBindings:function(n,a){1&n&&t.bIt("popstate",function(s){return a.onPopState(s)},!1,t.tSv)},decls:16,vars:9,consts:[["searchInput",""],[1,"custom-header"],[1,"header-content"],["slot","start",1,"start-icon"],[3,"click"],["aria-hidden","true","src","assets/icon/back.svg"],["type","search","fill","outline","shape","round",3,"keyup.enter","ngModelChange","disabled","ngModel","placeholder"],["slot","end"],[3,"click","disabled"],["aria-hidden","true","src","assets/icon/mic.svg"],["class","m-n",4,"ngIf"],[4,"ngIf"],[1,"m-n"],["lines","none"],[1,"ion-text-center"],["lines","none","style","padding: 5px;",4,"ngFor","ngForOf"],["lines","none",2,"padding","5px"],["item-start","",2,"border-radius","16px"],["height","100px","width","200px","radius","16px",2,"border-radius","16px"],[2,"padding-left","10px"],["height","12px","width","100px",2,"padding-bottom","8px"],["height","12px","width","80px",2,"padding-bottom","8px"],[2,"padding-left","30px"],["height","12px","width","10px",2,"padding-bottom","8px"],[1,"no-data"],["lines","none",3,"click",4,"ngFor","ngForOf"],["lines","none",3,"click"],[1,"card__img"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],[1,"card__metadata"],[1,"card__title"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",3,"click"],["alt","",3,"src"],["appThumbnail","","alt","",3,"appThumbnail"]],template:function(n,a){if(1&n){const e=t.RV6();t.j41(0,"ion-header")(1,"ion-toolbar",1)(2,"div",2)(3,"ion-buttons",3)(4,"ion-button",4),t.bIt("click",function(){return t.eBV(e),t.Njj(a.navigateBack())}),t.nrm(5,"ion-icon",5),t.k0s()(),t.j41(6,"ion-input",6,0),t.nI1(8,"translate"),t.bIt("keyup.enter",function(){return t.eBV(e),t.Njj(a.handleSearch())})("ngModelChange",function(){return t.eBV(e),t.Njj(!a.searchContentResult)}),t.mxI("ngModelChange",function(l){return t.eBV(e),t.DH7(a.searchKeywords,l)||(a.searchKeywords=l),t.Njj(l)}),t.k0s(),t.j41(9,"ion-buttons",7)(10,"ion-button",8),t.bIt("click",function(){return t.eBV(e),t.Njj(a.onLongPressStart())}),t.nrm(11,"ion-icon",9),t.k0s()()()()(),t.j41(12,"ion-content"),t.DNE(13,U,6,5,"ion-list",10)(14,Y,5,3,"ion-list",11)(15,H,2,1,"ion-list",11),t.k0s()}2&n&&(t.R7$(6),t.Y8G("disabled",a.disabled),t.R50("ngModel",a.searchKeywords),t.Y8G("placeholder",t.bMT(8,7,"SEARCH_HINT")),t.R7$(4),t.Y8G("disabled",a.disabled),t.R7$(3),t.Y8G("ngIf",a.showSheenAnimation),t.R7$(),t.Y8G("ngIf",!a.showSheenAnimation&&a.noSearchData),t.R7$(),t.Y8G("ngIf",!a.showSheenAnimation&&a.searchContentResult.length>0))},dependencies:[g.Sq,g.bT,u.BC,u.vS,m.Jm,m.QW,m.W9,m.eU,m.iq,m.$w,m.uz,m.he,m.nf,m.ai,m.Gw,j.O,G.g,v.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}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}ion-header[_ngcontent-%COMP%]{box-shadow:none}ion-header[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{color:var(--ion-color-primary)}ion-content[_ngcontent-%COMP%]{--padding-top: 0 !important}.header-content[_ngcontent-%COMP%]{display:flex} .toolbar-container{padding:0!important;min-height:auto}ion-input[_ngcontent-%COMP%]{margin-top:.5rem;min-height:3rem!important;--border-color: var(--ion-color-medium) !important;--highlight-color: var(--ion-color-secondary-contrast) !important}ion-icon[_ngcontent-%COMP%]{width:1.75rem;height:1.75rem;margin-left:0}.card__img[_ngcontent-%COMP%]{width:40%;height:auto}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:90%!important}.card__metadata[_ngcontent-%COMP%]{padding-top:0;padding-left:1rem;align-items:center;width:60%;height:90%}ion-list[_ngcontent-%COMP%]{background-color:transparent}ion-item[_ngcontent-%COMP%]{--background: transparent}.search_text[_ngcontent-%COMP%]{text-align:center}"]}),h})()}];let z=(()=>{var o;class h{}return(o=h).\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[f.iI.forChild(J),f.iI]}),h})();var Q=r(3721),Z=r(5553);let q=(()=>{var o;class h{}return(o=h).\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[g.MD,u.YN,m.bv,z,v.h,Z.h,Q.h]}),h})()}}]);
\ No newline at end of file
diff --git a/www/3119.a3736a034226f066.js b/www/3119.a3736a034226f066.js
new file mode 100644
index 00000000..6f99a54b
--- /dev/null
+++ b/www/3119.a3736a034226f066.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3119],{3119:(lt,A,c)=>{c.r(A),c.d(A,{ViewAllPageModule:()=>ot});var P=c(177),T=c(9417),y=c(8974),M=c(3021),u=c(467),p=c(56),S=c(4715),x=c(4733),G=c(1471),L=c(2849),B=c(9441),R=c(8666),$=c(7420),Y=c(5318),j=c.n(Y),U=c(1129),X=c(8113),t=c(4438),E=c(444),V=c(2904),F=c(7803),N=c(4517),I=c(5402);const z=o=>({"createList-cards":o});function W(o,s){if(1&o&&t.nrm(0,"img",12),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function H(o,s){if(1&o&&t.nrm(0,"img",12),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/youtube-video.png",t.B4B)}}function J(o,s){if(1&o&&t.nrm(0,"img",12),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function K(o,s){if(1&o&&t.nrm(0,"img",12),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function Q(o,s){1&o&&t.nrm(0,"img",13)}function Z(o,s){if(1&o&&(t.j41(0,"div",14),t.EFF(1),t.k0s()),2&o){const i=t.XpG().$implicit;t.R7$(),t.JRh(null==i||null==i.metaData?null:i.metaData.name)}}function q(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",15),t.bIt("click",function(){t.eBV(i);const n=t.XpG().$implicit,l=t.XpG();return t.Njj(l.openModal(n))}),t.nrm(1,"ion-icon",16),t.k0s()}}function tt(o,s){if(1&o){const i=t.RV6();t.j41(0,"div")(1,"ion-checkbox",17),t.bIt("ionChange",function(n){t.eBV(i);const l=t.XpG().index,r=t.XpG();return t.Njj(r.isContentSelect(n,l))}),t.k0s()()}if(2&o){const i=t.XpG().$implicit;t.R7$(),t.Y8G("checked",i.isSelected)}}function et(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",4),t.bIt("click",function(){const n=t.eBV(i).$implicit,l=t.XpG();return t.Njj(l.playcontent(n))}),t.j41(1,"div",5),t.DNE(2,W,1,1,"img",6)(3,H,1,1,"img",6)(4,J,1,1,"img",6)(5,K,1,1,"img",6)(6,Q,1,0,"img",7),t.k0s(),t.j41(7,"div",8),t.DNE(8,Z,2,1,"div",9)(9,q,2,0,"div",10)(10,tt,2,1,"div",11),t.k0s()()}if(2&o){const i=s.$implicit,e=t.XpG();t.R7$(2),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.YOUTUBE),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.MP4),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.PDF),t.R7$(),t.Y8G("ngIf",(null==i||null==i.metaData?null:i.metaData.mimetype)===(null==e.mimeType?null:e.mimeType.LINK)),t.R7$(2),t.Y8G("ngIf",null==i||null==i.metaData?null:i.metaData.name),t.R7$(),t.Y8G("ngIf","recentlyviewed"===e.type),t.R7$(),t.Y8G("ngIf","playlist"===e.type)}}function nt(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",18)(1,"div",19)(2,"div",20)(3,"div",21),t.EFF(4),t.k0s(),t.nrm(5,"ion-icon",22),t.k0s(),t.j41(6,"div",23),t.bIt("click",function(){t.eBV(i);const n=t.XpG();return t.Njj(n.uploadLocalContents())}),t.nrm(7,"ion-icon",24),t.k0s(),t.j41(8,"div",25)(9,"ion-button",26),t.bIt("click",function(){t.eBV(i);const n=t.XpG();return t.Njj(n.createList())}),t.EFF(10),t.nI1(11,"translate"),t.k0s()()()()}if(2&o){const i=t.XpG();t.R7$(4),t.JRh(i.selectedContents.length),t.R7$(5),t.Y8G("disabled",!i.selectedContents.length),t.R7$(),t.SpI(" ",t.bMT(11,3,"createPlaylist")," ")}}const it=[{path:"",component:(()=>{var o;class s{constructor(e,n,l,r,d,g,h,m,D){var v;this.contentService=e,this.router=n,this.headerService=l,this.playListService=r,this.platform=d,this.location=g,this.modalCtrl=h,this.utilService=m,this.platformLocation=D,this.contentList=[],this.type="",this.playlists=[],this.selectedContents=[],this.optModalOpen=!1,this.mimeType=p.Cc,this.resolveNativePath=b=>new Promise((_,w)=>{window.FilePath.resolveNativePath(b,_,a=>{console.error(`${b} could not be resolved by the plugin: ${a.message}`),w(a)})}),this.navigated=!1;let k=null===(v=this.router.getCurrentNavigation())||void 0===v?void 0:v.extras;var f;k&&(this.type=null===(f=k.state)||void 0===f?void 0:f.type),this.platformLocation.onPopState(()=>{console.log("Back button pressed")})}onPopState(e){this.location.back()}ngOnInit(){var e=this;return(0,u.A)(function*(){e.platform.backButton.subscribeWithPriority(11,(0,u.A)(function*(){e.location.back(),e.headerService.deviceBackBtnEvent({name:"backBtn"})})),e.headerService.headerEventEmitted$.subscribe(n=>{"back"===n&&e.router.navigate(["/tabs/my-pitara"])}),e.getRecentlyviewedContent()})()}getPlaylistContent(){var e=this;return(0,u.A)(function*(){yield e.playListService.getAllPlayLists("guest").then(n=>{n&&(e.playlists=n)}).catch(n=>{console.log("error",n)})})()}getRecentlyviewedContent(){var e=this;return(0,u.A)(function*(){yield e.contentService.getRecentlyViewedContent("guest").then(n=>{let l={};n.filter(r=>!l[r.contentIdentifier]&&(l[r.contentIdentifier]=!0,e.contentList.push(r),!0)),e.contentList.map(r=>r.metaData="string"==typeof r.metaData?JSON.parse(r.metaData):r.metaData),e.contentList=e.getContentImgPath(e.contentList)}).catch(n=>{console.log("error",n)})})()}ngOnDestroy(){var e=this;return(0,u.A)(function*(){const n=yield e.modalCtrl.getTop();n&&n.dismiss()})()}createList(){let e=[];this.contentList.forEach(n=>{n.isSelected&&e.push(n)}),this.router.navigate(["/create-playlist"],{state:{selectedContents:e}})}deletePlaylist(){var e=this;return(0,u.A)(function*(){yield e.playListService.deletePlayList(e.deleteContent.identifier).then(n=>{e.getPlaylistContent()}).catch(n=>{console.log("err",n)})})()}ionViewWillEnter(){this.navigated=!1,"recentlyviewed"===this.type?this.headerService.showHeader("Recently Viewed",!0):"playlist"===this.type&&this.headerService.showHeader("Select from Recently Viewed",!0),this.getPlaylistContent()}openModal(e){var n=this;return(0,u.A)(function*(){let l;n.optModalOpen||(n.optModalOpen=!0,l=yield n.modalCtrl.create({component:L.q,componentProps:{content:e},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield l.present()),l.onDidDismiss().then(function(){var r=(0,u.A)(function*(d){n.optModalOpen=!1,d.data&&"addToPitara"===d.data.type?n.addContentToMyPitara(d.data.content||e):d.data&&"like"==d.data.type&&(n.contentService.likeContent(d.data.content||e,"guest",!0),d.data.content.metaData.isLiked&&(yield R.Q.play({assetId:"windchime"}),(0,$.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})))});return function(d){return r.apply(this,arguments)}}())})()}addContentToMyPitara(e){var n=this;return(0,u.A)(function*(){const l=yield n.modalCtrl.create({component:B.$,componentProps:{content:e},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield l.present(),l.onWillDismiss().then(r=>{})})()}isContentSelect(e,n){this.contentList[n].isSelected=e.detail.checked,this.checkSelectedContent()}checkSelectedContent(){this.selectedContents=[],this.contentList.forEach(e=>{e.isSelected&&this.selectedContents.push(e)})}openFilePicker(){var e=this;return(0,u.A)(function*(){let n=[p.z5.PDF];n=n.concat(p.z5.VIDEOS).concat(p.z5.AUDIO);const{files:l}=yield S.N.pickFiles({types:n,multiple:!0,readData:!1});let r=[];const d=yield e.utilService.getLoader();yield d.present();for(let g=0;g{var r;l.metaData.thumbnail=l.metaData.mimetype===p.Cc.YOUTUBE?this.loadYoutubeImg(l.metaData):!l.metaData.thumbnail||null!=l&&null!==(r=l.metaData.identifier)&&void 0!==r&&r.startsWith("do_")?x.O.getImagePath(l.metaData.mimetype||l.metaData.mimeType):l.mediaData.thumbnail,n&&(l.isSelected=!0,this.selectedContents.push(l))}),e}loadYoutubeImg(e){let n=e.identifier;const r=null==e?void 0:e.url.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return n=r?r[1]:null,`https://img.youtube.com/vi/${n}/mqdefault.jpg`}playcontent(e){var n=this;return(0,u.A)(function*(){"recentlyviewed"===n.type&&!n.optModalOpen&&(yield n.router.navigate(["/player"],{state:{content:e}}))})()}uploadLocalContents(){var e=this;return(0,u.A)(function*(){let n;e.optModalOpen||(e.optModalOpen=!0,n=yield e.modalCtrl.create({component:U.W,componentProps:{uploadType:[{type:"url",label:"Upload from Youtube"},{type:"diksha",label:"Upload from Diksha"}]},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield n.present()),n.onDidDismiss().then(function(){var l=(0,u.A)(function*(r){e.optModalOpen=!1,"file"===r.data.type?e.openFilePicker():e.createYoutubeContent(r.data.type)});return function(r){return l.apply(this,arguments)}}())})()}createYoutubeContent(e){var n=this;return(0,u.A)(function*(){const l=yield n.modalCtrl.create({component:X.r,componentProps:{title:"url"==e?"Add Youtube URL":"Add Diksha URL",placeholder:"Name"},cssClass:"auto-height"});yield l.present(),l.onDidDismiss().then(function(){var r=(0,u.A)(function*(d){var g;let h=null===(g=d.data)||void 0===g?void 0:g.url;if(d&&"create"===d.data.type){let m=[];const D=yield n.utilService.getLoader();yield D.present();let v="";if("url"===e)v=j()(h),m.push({source:"local",sourceType:"local",metaData:{identifier:v,url:"https://www.youtube.com/watch?v="+v,name:d.data.name,mimetype:p.z5.YOUTUBE,thumbnail:""}}),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList);else if("diksha"===e){v=h.split("/").filter(f=>f.startsWith("do_"));try{yield n.contentService.readDikshaContents(v[0]).then(function(){var f=(0,u.A)(function*(b){var _,w;let a=null===(_=b.body)||void 0===_||null===(_=_.result)||void 0===_?void 0:_.content;if((null===(w=a.dialcodes)||void 0===w?void 0:w.length)>0)yield n.contentService.getContents(a.dialcodes[0]).then(C=>{C.length>0&&(C.forEach(O=>{O.source="local",(O.metaData.mimetype==p.z5.PDF||O.metaData.mimetype==p.z5.VIDEO)&&m.push(O)}),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList))});else if(a.mediaType="content"){let C={source:"local",sourceType:"diksha",metaData:{identifier:null==a?void 0:a.identifier,name:null==a?void 0:a.name,thumbnail:null==a?void 0:a.thumbnail,description:null==a?void 0:a.name,mimetype:(null==a?void 0:a.mimetype)||(null==a?void 0:a.mimeType),url:null==a?void 0:a.streamingUrl,focus:null==a?void 0:a.focus,keyword:null==a?void 0:a.keyword,domain:null==a?void 0:a.domain,curriculargoal:null==a?void 0:a.curriculargoal,competencies:null==a?void 0:a.competencies,language:null==a?void 0:a.language,category:null==a?void 0:a.category,audience:null==a?void 0:a.audience,status:null==a?void 0:a.status,createdon:null==a?void 0:a.createdOn,lastupdatedon:(null==a?void 0:a.lastupdatedon)||(null==a?void 0:a.lastUpdatedOn),artifactUrl:null==a?void 0:a.artifactUrl}};(C.metaData.mimetype==p.z5.PDF||C.metaData.mimetype==p.z5.VIDEO)&&(m.push(C),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList))}});return function(b){return f.apply(this,arguments)}}())}catch(f){console.log("server err ",f)}}yield D.dismiss()}});return function(d){return r.apply(this,arguments)}}())})()}}return(o=s).\u0275fac=function(e){return new(e||o)(t.rXU(E.f),t.rXU(M.Ix),t.rXU(V.Ux),t.rXU(F.q),t.rXU(N.OD),t.rXU(P.aZ),t.rXU(y.W3),t.rXU(V.a0),t.rXU(P.Vw))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-view-all"]],viewQuery:function(e,n){if(1&e&&t.GBs(y.Sb,5),2&e){let l;t.mGM(l=t.lsd())&&(n.modal=l.first)}},hostBindings:function(e,n){1&e&&t.bIt("popstate",function(r){return n.onPopState(r)},!1,t.tSv)},decls:4,vars:6,consts:[[3,"fullscreen"],[1,"cards-container",3,"ngClass"],["class","card",3,"click",4,"ngFor","ngForOf"],["class","view-all-btn",4,"ngIf"],[1,"card",3,"click"],[1,"card__img"],["alt","",3,"src",4,"ngIf"],["src","assets/images/LINK.png","alt","",4,"ngIf"],[1,"card__metadata"],["class","card__title",4,"ngIf"],[3,"click",4,"ngIf"],[4,"ngIf"],["alt","",3,"src"],["src","assets/images/LINK.png","alt",""],[1,"card__title"],[3,"click"],["slot","end","aria-hidden","true","src","../../../assets/icon/kabab-icon.svg"],[1,"playlist-card__checkbox",3,"ionChange","checked"],[1,"view-all-btn"],[1,"view-playlist"],[1,"view-playlist__icon"],[1,"count"],["aria-hidden","true","src","assets/icon/pitara-blue.svg"],[1,"view-playlist__icon",3,"click"],["aria-hidden","true","src","assets/icon/file-upload.svg"],[1,"view-playlist__button"],["fill","outline",1,"new-playlist__btn",3,"click","disabled"]],template:function(e,n){1&e&&(t.j41(0,"ion-content",0)(1,"div",1),t.DNE(2,et,11,8,"div",2),t.k0s()(),t.DNE(3,nt,12,5,"div",3)),2&e&&(t.Y8G("fullscreen",!0),t.R7$(),t.Y8G("ngClass",t.eq3(4,z,"playlist"===n.type)),t.R7$(),t.Y8G("ngForOf",n.contentList),t.R7$(),t.Y8G("ngIf","playlist"===n.type))},dependencies:[P.YU,P.Sq,P.bT,y.Jm,y.eY,y.W9,y.iq,y.hB,I.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}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}.cards-container[_ngcontent-%COMP%]{padding-top:.5rem}.card[_ngcontent-%COMP%]{display:flex}.card__img[_ngcontent-%COMP%]{width:100%;height:4.5rem;max-width:7.5rem}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:.5rem}.card__metadata[_ngcontent-%COMP%]{padding-top:0;padding-left:.5rem;align-items:flex-start;width:100%}.view-playlist[_ngcontent-%COMP%]{position:fixed;bottom:.188rem;width:98%;height:4rem;background-color:var(--ion-color-secondary);border-radius:3.125rem;display:flex;align-items:center;padding:.5rem}.view-playlist__icon[_ngcontent-%COMP%]{width:3rem;height:3rem;background-color:var(--ion-color-primary-contrast);border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;margin-right:5%}.view-playlist__icon[_ngcontent-%COMP%] .count[_ngcontent-%COMP%]{position:absolute;top:-.188rem;right:-.188rem;background:var(--ion-color-primary);border-radius:50%;font-size:.625rem;width:1.125rem;height:1.125rem;display:flex;align-items:center;justify-content:center;color:var(--ion-color-primary-contrast)}.view-playlist__icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.view-playlist__button[_ngcontent-%COMP%]{margin-left:auto}.view-playlist__button[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{font-size:.75rem;font-weight:700}.view-all-btn[_ngcontent-%COMP%]{display:flex;justify-content:center}[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{--border-radius: 50% !important;--border-color: var(--ion-color-medium) !important;--size: 1.5rem !important;--checkbox-background-checked: var(--ion-color-secondary) !important;--border-color-checked: var(--ion-color-secondary) !important;margin:0}[_nghost-%COMP%] ion-button.new-playlist__btn[_ngcontent-%COMP%]{--background: var(--ion-color-secondary);--color: var(--ion-color-primary-contrast);--border-radius: 1.875rem;--border-color: var(--ion-color-primary-contrast);--border-style: solid;--border-width: 1px;--box-shadow: none}ion-content[_ngcontent-%COMP%]{--padding-top: 3.2rem}.createList-cards[_ngcontent-%COMP%]{height:calc(100vh - 120px);overflow:auto}"]}),s})()}];let at=(()=>{var o;class s{}return(o=s).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[M.iI.forChild(it),M.iI]}),s})(),ot=(()=>{var o;class s{}return(o=s).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[P.MD,T.YN,y.bv,at,I.h]}),s})()}}]);
\ No newline at end of file
diff --git a/www/3119.bbf7c32983cab8d6.js b/www/3119.bbf7c32983cab8d6.js
deleted file mode 100644
index e30e2598..00000000
--- a/www/3119.bbf7c32983cab8d6.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[3119],{3119:(lt,A,c)=>{c.r(A),c.d(A,{ViewAllPageModule:()=>ot});var P=c(177),T=c(9417),y=c(8974),M=c(3021),u=c(467),p=c(56),G=c(4715),x=c(4733),S=c(1471),B=c(2849),L=c(9441),R=c(8666),$=c(7420),Y=c(5318),j=c.n(Y),U=c(1129),X=c(8113),t=c(4438),E=c(444),V=c(2904),F=c(7803),N=c(4517),I=c(5402);const z=o=>({"createList-cards":o});function W(o,s){if(1&o&&t.nrm(0,"img",11),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function H(o,s){if(1&o&&t.nrm(0,"img",11),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/youtube-video.png",t.B4B)}}function J(o,s){if(1&o&&t.nrm(0,"img",11),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function Q(o,s){if(1&o&&t.nrm(0,"img",11),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function K(o,s){if(1&o&&t.nrm(0,"img",11),2&o){const i=t.XpG().$implicit;t.Y8G("src",null!=i&&null!=i.metaData&&i.metaData.thumbnail&&!i.metaData.identifier.startsWith("do_")?null==i||null==i.metaData?null:i.metaData.thumbnail:"assets/images/LINK.png",t.B4B)}}function Z(o,s){if(1&o&&(t.j41(0,"div",12),t.EFF(1),t.k0s()),2&o){const i=t.XpG().$implicit;t.R7$(),t.JRh(null==i||null==i.metaData?null:i.metaData.name)}}function q(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",13),t.bIt("click",function(){t.eBV(i);const n=t.XpG().$implicit,l=t.XpG();return t.Njj(l.openModal(n))}),t.nrm(1,"ion-icon",14),t.k0s()}}function tt(o,s){if(1&o){const i=t.RV6();t.j41(0,"div")(1,"ion-checkbox",15),t.bIt("ionChange",function(n){t.eBV(i);const l=t.XpG().index,r=t.XpG();return t.Njj(r.isContentSelect(n,l))}),t.k0s()()}if(2&o){const i=t.XpG().$implicit;t.R7$(),t.Y8G("checked",i.isSelected)}}function et(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",4),t.bIt("click",function(){const n=t.eBV(i).$implicit,l=t.XpG();return t.Njj(l.playcontent(n))}),t.j41(1,"div",5),t.DNE(2,W,1,1,"img",6)(3,H,1,1,"img",6)(4,J,1,1,"img",6)(5,Q,1,1,"img",6)(6,K,1,1,"img",6),t.k0s(),t.j41(7,"div",7),t.DNE(8,Z,2,1,"div",8)(9,q,2,0,"div",9)(10,tt,2,1,"div",10),t.k0s()()}if(2&o){const i=s.$implicit,e=t.XpG();t.R7$(2),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.YOUTUBE),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.MP4),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.PDF),t.R7$(),t.Y8G("ngIf",i.metaData.mimetype===e.mimeType.LINK),t.R7$(2),t.Y8G("ngIf",null==i||null==i.metaData?null:i.metaData.name),t.R7$(),t.Y8G("ngIf","recentlyviewed"===e.type),t.R7$(),t.Y8G("ngIf","playlist"===e.type)}}function nt(o,s){if(1&o){const i=t.RV6();t.j41(0,"div",16)(1,"div",17)(2,"div",18)(3,"div",19),t.EFF(4),t.k0s(),t.nrm(5,"ion-icon",20),t.k0s(),t.j41(6,"div",21),t.bIt("click",function(){t.eBV(i);const n=t.XpG();return t.Njj(n.uploadLocalContents())}),t.nrm(7,"ion-icon",22),t.k0s(),t.j41(8,"div",23)(9,"ion-button",24),t.bIt("click",function(){t.eBV(i);const n=t.XpG();return t.Njj(n.createList())}),t.EFF(10),t.nI1(11,"translate"),t.k0s()()()()}if(2&o){const i=t.XpG();t.R7$(4),t.JRh(i.selectedContents.length),t.R7$(5),t.Y8G("disabled",!i.selectedContents.length),t.R7$(),t.SpI(" ",t.bMT(11,3,"createPlaylist")," ")}}const it=[{path:"",component:(()=>{var o;class s{constructor(e,n,l,r,d,g,h,m,D){var v;this.contentService=e,this.router=n,this.headerService=l,this.playListService=r,this.platform=d,this.location=g,this.modalCtrl=h,this.utilService=m,this.platformLocation=D,this.contentList=[],this.type="",this.playlists=[],this.selectedContents=[],this.optModalOpen=!1,this.mimeType=p.Cc,this.resolveNativePath=b=>new Promise((_,w)=>{window.FilePath.resolveNativePath(b,_,a=>{console.error(`${b} could not be resolved by the plugin: ${a.message}`),w(a)})}),this.navigated=!1;let k=null===(v=this.router.getCurrentNavigation())||void 0===v?void 0:v.extras;var f;k&&(this.type=null===(f=k.state)||void 0===f?void 0:f.type),this.platformLocation.onPopState(()=>{console.log("Back button pressed")})}onPopState(e){this.location.back()}ngOnInit(){var e=this;return(0,u.A)(function*(){e.platform.backButton.subscribeWithPriority(11,(0,u.A)(function*(){e.location.back(),e.headerService.deviceBackBtnEvent({name:"backBtn"})})),e.headerService.headerEventEmitted$.subscribe(n=>{"back"===n&&e.router.navigate(["/tabs/my-pitara"])}),e.getRecentlyviewedContent()})()}getPlaylistContent(){var e=this;return(0,u.A)(function*(){yield e.playListService.getAllPlayLists("guest").then(n=>{n&&(e.playlists=n)}).catch(n=>{console.log("error",n)})})()}getRecentlyviewedContent(){var e=this;return(0,u.A)(function*(){yield e.contentService.getRecentlyViewedContent("guest").then(n=>{let l={};n.filter(r=>!l[r.contentIdentifier]&&(l[r.contentIdentifier]=!0,e.contentList.push(r),!0)),e.contentList.map(r=>r.metaData="string"==typeof r.metaData?JSON.parse(r.metaData):r.metaData),e.contentList=e.getContentImgPath(e.contentList)}).catch(n=>{console.log("error",n)})})()}ngOnDestroy(){var e=this;return(0,u.A)(function*(){const n=yield e.modalCtrl.getTop();n&&n.dismiss()})()}createList(){let e=[];this.contentList.forEach(n=>{n.isSelected&&e.push(n)}),this.router.navigate(["/create-playlist"],{state:{selectedContents:e}})}deletePlaylist(){var e=this;return(0,u.A)(function*(){yield e.playListService.deletePlayList(e.deleteContent.identifier).then(n=>{e.getPlaylistContent()}).catch(n=>{console.log("err",n)})})()}ionViewWillEnter(){this.navigated=!1,"recentlyviewed"===this.type?this.headerService.showHeader("Recently Viewed",!0):"playlist"===this.type&&this.headerService.showHeader("Select from Recently Viewed",!0),this.getPlaylistContent()}openModal(e){var n=this;return(0,u.A)(function*(){let l;n.optModalOpen||(n.optModalOpen=!0,l=yield n.modalCtrl.create({component:B.q,componentProps:{content:e},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield l.present()),l.onDidDismiss().then(function(){var r=(0,u.A)(function*(d){n.optModalOpen=!1,d.data&&"addToPitara"===d.data.type?n.addContentToMyPitara(d.data.content||e):d.data&&"like"==d.data.type&&(n.contentService.likeContent(d.data.content||e,"guest",!0),d.data.content.metaData.isLiked&&(yield R.Q.play({assetId:"windchime"}),(0,$.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})))});return function(d){return r.apply(this,arguments)}}())})()}addContentToMyPitara(e){var n=this;return(0,u.A)(function*(){const l=yield n.modalCtrl.create({component:L.$,componentProps:{content:e},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield l.present(),l.onWillDismiss().then(r=>{})})()}isContentSelect(e,n){this.contentList[n].isSelected=e.detail.checked,this.checkSelectedContent()}checkSelectedContent(){this.selectedContents=[],this.contentList.forEach(e=>{e.isSelected&&this.selectedContents.push(e)})}openFilePicker(){var e=this;return(0,u.A)(function*(){let n=[p.z5.PDF];n=n.concat(p.z5.VIDEOS).concat(p.z5.AUDIO);const{files:l}=yield G.N.pickFiles({types:n,multiple:!0,readData:!1});let r=[];const d=yield e.utilService.getLoader();yield d.present();for(let g=0;g{var r;l.metaData.thumbnail=l.metaData.mimetype===p.Cc.YOUTUBE?this.loadYoutubeImg(l.metaData):!l.metaData.thumbnail||null!=l&&null!==(r=l.metaData.identifier)&&void 0!==r&&r.startsWith("do_")?x.O.getImagePath(l.metaData.mimetype||l.metaData.mimeType):l.mediaData.thumbnail,n&&(l.isSelected=!0,this.selectedContents.push(l))}),e}loadYoutubeImg(e){let n=e.identifier;const r=null==e?void 0:e.url.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return n=r?r[1]:null,`https://img.youtube.com/vi/${n}/mqdefault.jpg`}playcontent(e){var n=this;return(0,u.A)(function*(){"recentlyviewed"===n.type&&!n.optModalOpen&&(yield n.router.navigate(["/player"],{state:{content:e}}))})()}uploadLocalContents(){var e=this;return(0,u.A)(function*(){let n;e.optModalOpen||(e.optModalOpen=!0,n=yield e.modalCtrl.create({component:U.W,componentProps:{uploadType:[{type:"url",label:"Upload from Youtube"},{type:"diksha",label:"Upload from Diksha"}]},cssClass:"sheet-modal",breakpoints:[.25],showBackdrop:!1,initialBreakpoint:.25,handle:!1,handleBehavior:"none"}),yield n.present()),n.onDidDismiss().then(function(){var l=(0,u.A)(function*(r){e.optModalOpen=!1,"file"===r.data.type?e.openFilePicker():e.createYoutubeContent(r.data.type)});return function(r){return l.apply(this,arguments)}}())})()}createYoutubeContent(e){var n=this;return(0,u.A)(function*(){const l=yield n.modalCtrl.create({component:X.r,componentProps:{title:"url"==e?"Add Youtube URL":"Add Diksha URL",placeholder:"Name"},cssClass:"auto-height"});yield l.present(),l.onDidDismiss().then(function(){var r=(0,u.A)(function*(d){var g;let h=null===(g=d.data)||void 0===g?void 0:g.url;if(d&&"create"===d.data.type){let m=[];const D=yield n.utilService.getLoader();yield D.present();let v="";if("url"===e)v=j()(h),m.push({source:"local",sourceType:"local",metaData:{identifier:v,url:"https://www.youtube.com/watch?v="+v,name:d.data.name,mimetype:p.z5.YOUTUBE,thumbnail:""}}),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList);else if("diksha"===e){v=h.split("/").filter(f=>f.startsWith("do_"));try{yield n.contentService.readDikshaContents(v[0]).then(function(){var f=(0,u.A)(function*(b){var _,w;let a=null===(_=b.body)||void 0===_||null===(_=_.result)||void 0===_?void 0:_.content;if((null===(w=a.dialcodes)||void 0===w?void 0:w.length)>0)yield n.contentService.getContents(a.dialcodes[0]).then(C=>{C.length>0&&(C.forEach(O=>{O.source="local",(O.metaData.mimetype==p.z5.PDF||O.metaData.mimetype==p.z5.VIDEO)&&m.push(O)}),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList))});else if(a.mediaType="content"){let C={source:"local",sourceType:"diksha",metaData:{identifier:null==a?void 0:a.identifier,name:null==a?void 0:a.name,thumbnail:null==a?void 0:a.thumbnail,description:null==a?void 0:a.name,mimetype:(null==a?void 0:a.mimetype)||(null==a?void 0:a.mimeType),url:null==a?void 0:a.streamingUrl,focus:null==a?void 0:a.focus,keyword:null==a?void 0:a.keyword,domain:null==a?void 0:a.domain,curriculargoal:null==a?void 0:a.curriculargoal,competencies:null==a?void 0:a.competencies,language:null==a?void 0:a.language,category:null==a?void 0:a.category,audience:null==a?void 0:a.audience,status:null==a?void 0:a.status,createdon:null==a?void 0:a.createdOn,lastupdatedon:(null==a?void 0:a.lastupdatedon)||(null==a?void 0:a.lastUpdatedOn),artifactUrl:null==a?void 0:a.artifactUrl}};(C.metaData.mimetype==p.z5.PDF||C.metaData.mimetype==p.z5.VIDEO)&&(m.push(C),m=n.getContentImgPath(m,!0),n.contentList=m.concat(n.contentList))}});return function(b){return f.apply(this,arguments)}}())}catch(f){console.log("server err ",f)}}yield D.dismiss()}});return function(d){return r.apply(this,arguments)}}())})()}}return(o=s).\u0275fac=function(e){return new(e||o)(t.rXU(E.f),t.rXU(M.Ix),t.rXU(V.Ux),t.rXU(F.q),t.rXU(N.OD),t.rXU(P.aZ),t.rXU(y.W3),t.rXU(V.a0),t.rXU(P.Vw))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-view-all"]],viewQuery:function(e,n){if(1&e&&t.GBs(y.Sb,5),2&e){let l;t.mGM(l=t.lsd())&&(n.modal=l.first)}},hostBindings:function(e,n){1&e&&t.bIt("popstate",function(r){return n.onPopState(r)},!1,t.tSv)},decls:4,vars:6,consts:[[3,"fullscreen"],[1,"cards-container",3,"ngClass"],["class","card",3,"click",4,"ngFor","ngForOf"],["class","view-all-btn",4,"ngIf"],[1,"card",3,"click"],[1,"card__img"],["alt","",3,"src",4,"ngIf"],[1,"card__metadata"],["class","card__title",4,"ngIf"],[3,"click",4,"ngIf"],[4,"ngIf"],["alt","",3,"src"],[1,"card__title"],[3,"click"],["slot","end","aria-hidden","true","src","../../../assets/icon/kabab-icon.svg"],[1,"playlist-card__checkbox",3,"ionChange","checked"],[1,"view-all-btn"],[1,"view-playlist"],[1,"view-playlist__icon"],[1,"count"],["aria-hidden","true","src","assets/icon/pitara-blue.svg"],[1,"view-playlist__icon",3,"click"],["aria-hidden","true","src","assets/icon/file-upload.svg"],[1,"view-playlist__button"],["fill","outline",1,"new-playlist__btn",3,"click","disabled"]],template:function(e,n){1&e&&(t.j41(0,"ion-content",0)(1,"div",1),t.DNE(2,et,11,8,"div",2),t.k0s()(),t.DNE(3,nt,12,5,"div",3)),2&e&&(t.Y8G("fullscreen",!0),t.R7$(),t.Y8G("ngClass",t.eq3(4,z,"playlist"===n.type)),t.R7$(),t.Y8G("ngForOf",n.contentList),t.R7$(),t.Y8G("ngIf","playlist"===n.type))},dependencies:[P.YU,P.Sq,P.bT,y.Jm,y.eY,y.W9,y.iq,y.hB,I.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}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}.cards-container[_ngcontent-%COMP%]{padding-top:.5rem}.card[_ngcontent-%COMP%]{display:flex}.card__img[_ngcontent-%COMP%]{width:100%;height:4.5rem;max-width:7.5rem}.card__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:.5rem}.card__metadata[_ngcontent-%COMP%]{padding-top:0;padding-left:.5rem;align-items:flex-start;width:100%}.view-playlist[_ngcontent-%COMP%]{position:fixed;bottom:.188rem;width:98%;height:4rem;background-color:var(--ion-color-secondary);border-radius:3.125rem;display:flex;align-items:center;padding:.5rem}.view-playlist__icon[_ngcontent-%COMP%]{width:3rem;height:3rem;background-color:var(--ion-color-primary-contrast);border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;margin-right:5%}.view-playlist__icon[_ngcontent-%COMP%] .count[_ngcontent-%COMP%]{position:absolute;top:-.188rem;right:-.188rem;background:var(--ion-color-primary);border-radius:50%;font-size:.625rem;width:1.125rem;height:1.125rem;display:flex;align-items:center;justify-content:center;color:var(--ion-color-primary-contrast)}.view-playlist__icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.view-playlist__button[_ngcontent-%COMP%]{margin-left:auto}.view-playlist__button[_ngcontent-%COMP%] ion-button[_ngcontent-%COMP%]{font-size:.75rem;font-weight:700}.view-all-btn[_ngcontent-%COMP%]{display:flex;justify-content:center}[_nghost-%COMP%] ion-checkbox[_ngcontent-%COMP%]{--border-radius: 50% !important;--border-color: var(--ion-color-medium) !important;--size: 1.5rem !important;--checkbox-background-checked: var(--ion-color-secondary) !important;--border-color-checked: var(--ion-color-secondary) !important;margin:0}[_nghost-%COMP%] ion-button.new-playlist__btn[_ngcontent-%COMP%]{--background: var(--ion-color-secondary);--color: var(--ion-color-primary-contrast);--border-radius: 1.875rem;--border-color: var(--ion-color-primary-contrast);--border-style: solid;--border-width: 1px;--box-shadow: none}ion-content[_ngcontent-%COMP%]{--padding-top: 3.2rem}.createList-cards[_ngcontent-%COMP%]{height:calc(100vh - 120px);overflow:auto}"]}),s})()}];let at=(()=>{var o;class s{}return(o=s).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[M.iI.forChild(it),M.iI]}),s})(),ot=(()=>{var o;class s{}return(o=s).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[P.MD,T.YN,y.bv,at,I.h]}),s})()}}]);
\ No newline at end of file
diff --git a/www/4294.7a9a0605eb308817.js b/www/4294.7a9a0605eb308817.js
deleted file mode 100644
index 4e6568c2..00000000
--- a/www/4294.7a9a0605eb308817.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4294],{4294:(N,h,s)=>{s.r(h),s.d(h,{PlaylistDetailsPageModule:()=>E});var d=s(177),v=s(9417),c=s(8974),g=s(3021),m=s(467),P=s(56),D=s(5301),t=s(4438),b=s(2904),C=s(7803),O=s(4254),_=s(5402);function M(n,l){1&n&&(t.j41(0,"div",4)(1,"div",5),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.JRh(t.bMT(3,1,"Add content to the playlist")))}function x(n,l){if(1&n&&t.nrm(0,"img",12),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function G(n,l){if(1&n&&t.nrm(0,"img",17),2&n){const e=t.XpG(2).$implicit;t.Y8G("appThumbnail",null==e?null:e.metaData)}}function j(n,l){if(1&n&&t.nrm(0,"img",12),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function T(n,l){if(1&n&&t.nrm(0,"img",12),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function $(n,l){if(1&n&&t.nrm(0,"img",12),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/LINK.png",t.B4B)}}function I(n,l){if(1&n&&t.nrm(0,"img",12),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/LINK.png",t.B4B)}}function R(n,l){1&n&&t.nrm(0,"ion-icon",18)}function Y(n,l){if(1&n){const e=t.RV6();t.j41(0,"div",8)(1,"div",9),t.bIt("click",function(){t.eBV(e);const i=t.XpG().$implicit,o=t.XpG();return t.Njj(o.playContent(i))}),t.DNE(2,x,1,1,"img",10)(3,G,1,1,"img",11)(4,j,1,1,"img",10)(5,T,1,1,"img",10)(6,$,1,1,"img",10)(7,I,1,1,"img",10),t.nrm(8,"img",12),t.k0s(),t.j41(9,"div",13)(10,"div",14),t.EFF(11),t.k0s(),t.j41(12,"ion-buttons"),t.DNE(13,R,1,0,"ion-icon",15),t.j41(14,"ion-icon",16),t.bIt("click",function(){t.eBV(e);const i=t.XpG().$implicit,o=t.XpG();return t.Njj(o.moreOtions(i))}),t.k0s()()()()}if(2&n){const e=t.XpG().$implicit,a=t.XpG();t.R7$(2),t.Y8G("ngIf",e.metaData.mimetype===a.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",(null==e||null==e.metaData?null:e.metaData.mimetype)===a.mimeType.YOUTUBE&&!e.play),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===a.mimeType.MP4),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===a.mimeType.PDF),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===a.mimeType.LINK),t.R7$(),t.Y8G("ngIf","text/html"===(null==e||null==e.metaData?null:e.metaData.mimetype)),t.R7$(),t.Y8G("src",""!=(null==e||null==e.metaData?null:e.metaData.thumbnail)||e.metaData.identifier.startsWith("do_")?"":"https://ejaaduipitara.ncert.gov.in/assets/img/cards.jpg",t.B4B),t.R7$(3),t.JRh(null==e.metaData?null:e.metaData.name),t.R7$(2),t.Y8G("ngIf","local"===e.source)}}function B(n,l){if(1&n&&(t.j41(0,"div",6),t.DNE(1,Y,15,9,"div",7),t.k0s()),2&n){const e=l.$implicit;t.R7$(),t.Y8G("ngIf",null==e?null:e.metaData)}}const w=[{path:"",component:(()=>{var n;class l{constructor(a,i,o,r){var p;this.router=a,this.headerService=i,this.modalCtrl=o,this.playlistService=r,this.playlists=[],this.mimeType=P.Cc,this.navigated=!1,this.headerEventSub=null;let y=null===(p=this.router.getCurrentNavigation())||void 0===p?void 0:p.extras;var u;y&&(this.playContentObject=null===(u=y.state)||void 0===u?void 0:u.playlist,this.playContentObject.playListcontentList.map(f=>{f.metaData=JSON.parse(f.content_metadata)}),this.playlists=this.playContentObject.playListcontentList)}ngOnInit(){this.headerService.showHeader(this.playContentObject.name,!0,["edit"]),this.headerService.headerEventEmitted$.subscribe(a=>{"edit"===a?this.router.navigate(["/create-playlist"],{state:{playlists:this.playContentObject,islocal:!0}}):"back"===a&&!this.navigated&&(this.navigated=!0,this.router.navigate(["/tabs/my-pitara"]))})}ionViewWillEnter(){this.navigated=!1,this.headerService.showHeader(this.playContentObject.name,!0,["edit"])}ngOnDestroy(){try{this.headerEventSub&&this.headerEventSub.unsubscribe()}catch(a){console.log("error in unsubscribe",a)}}playContent(a){var i=this;return(0,m.A)(function*(){yield i.router.navigate(["/player"],{state:{content:a}})})()}deletePlaylist(a){var i=this;return(0,m.A)(function*(){yield i.playlistService.deleteContentFromPlayList(i.playContentObject.identifier,[a.identifier]).then(o=>{i.getPlaylistContent()}).catch(o=>{console.log("err",o)})})()}getPlaylistContent(){var a=this;return(0,m.A)(function*(){yield a.playlistService.getPlayListContents(a.playContentObject.identifier).then(i=>{a.playlists=i,a.playlists.map(o=>{o.metaData=JSON.parse(o.content_metadata)}),a.playContentObject.playListcontentList=a.playlists})})()}moreOtions(a){var i=this;return(0,m.A)(function*(){const o=yield i.modalCtrl.create({component:D.J,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield o.present(),o.onWillDismiss().then(r=>{r&&"delete"===r.data.type?i.deletePlaylist(a):r&&"edit"===r.data.type&&i.router.navigate(["/create-playlist"],{state:{playlists:i.playContentObject,islocal:!0}})})})()}}return(n=l).\u0275fac=function(a){return new(a||n)(t.rXU(g.Ix),t.rXU(b.Ux),t.rXU(c.W3),t.rXU(C.q))},n.\u0275cmp=t.VBU({type:n,selectors:[["app-playlist-details"]],decls:4,vars:3,consts:[[3,"fullscreen"],["class","bot-section",4,"ngIf"],["id","content-list"],["class","cards-container",4,"ngFor","ngForOf"],[1,"bot-section"],[1,"bot-section__text"],[1,"cards-container"],["class","card",4,"ngIf"],[1,"card"],[1,"card__img",3,"click"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],["alt","",3,"src"],[1,"card__metadata"],[1,"card__title"],["aria-hidden","true","class","icon-right","src","assets/icon/sd-card.svg",4,"ngIf"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",1,"icon-left",3,"click"],["appThumbnail","","alt","",3,"appThumbnail"],["aria-hidden","true","src","assets/icon/sd-card.svg",1,"icon-right"]],template:function(a,i){1&a&&(t.j41(0,"ion-content",0),t.DNE(1,M,4,3,"div",1),t.j41(2,"div",2),t.DNE(3,B,2,1,"div",3),t.k0s()()),2&a&&(t.Y8G("fullscreen",!0),t.R7$(),t.Y8G("ngIf",!i.playlists.length),t.R7$(2),t.Y8G("ngForOf",i.playlists))},dependencies:[d.Sq,d.bT,c.QW,c.W9,c.iq,O.g,_.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}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}ion-content[_ngcontent-%COMP%]{--padding-top: 3.5rem }.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}.icon-right[_ngcontent-%COMP%]{margin-right:10px}.icon-left[_ngcontent-%COMP%]{margin-left:10px}.bot-section__text[_ngcontent-%COMP%]{position:absolute;left:46%;right:0;top:16%;transform:translate(-50%,-50%);text-align:center;color:var(--ion-color-medium);font-size:.75rem}"]}),l})()}];let X=(()=>{var n;class l{}return(n=l).\u0275fac=function(a){return new(a||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[g.iI.forChild(w),g.iI]}),l})();var k=s(3721);let E=(()=>{var n;class l{}return(n=l).\u0275fac=function(a){return new(a||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[d.MD,v.YN,c.bv,X,_.h,k.h]}),l})()}}]);
\ No newline at end of file
diff --git a/www/4294.a6a7a79833fbee90.js b/www/4294.a6a7a79833fbee90.js
new file mode 100644
index 00000000..4f1d0eb1
--- /dev/null
+++ b/www/4294.a6a7a79833fbee90.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4294],{4294:(N,h,s)=>{s.r(h),s.d(h,{PlaylistDetailsPageModule:()=>E});var d=s(177),f=s(9417),c=s(8974),g=s(3021),m=s(467),P=s(56),D=s(5301),t=s(4438),C=s(2904),b=s(7803),O=s(4254),y=s(5402);function M(n,l){1&n&&(t.j41(0,"div",4)(1,"div",5),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&n&&(t.R7$(2),t.JRh(t.bMT(3,1,"Add content to the playlist")))}function x(n,l){if(1&n&&t.nrm(0,"img",13),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function j(n,l){if(1&n&&t.nrm(0,"img",18),2&n){const e=t.XpG(2).$implicit;t.Y8G("appThumbnail",null==e?null:e.metaData)}}function G(n,l){if(1&n&&t.nrm(0,"img",13),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function T(n,l){if(1&n&&t.nrm(0,"img",13),2&n){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function I(n,l){1&n&&t.nrm(0,"img",19)}function $(n,l){1&n&&t.nrm(0,"ion-icon",20)}function R(n,l){if(1&n){const e=t.RV6();t.j41(0,"div",8)(1,"div",9),t.bIt("click",function(){t.eBV(e);const a=t.XpG().$implicit,o=t.XpG();return t.Njj(o.playContent(a))}),t.DNE(2,x,1,1,"img",10)(3,j,1,1,"img",11)(4,G,1,1,"img",10)(5,T,1,1,"img",10)(6,I,1,0,"img",12),t.nrm(7,"img",13),t.k0s(),t.j41(8,"div",14)(9,"div",15),t.EFF(10),t.k0s(),t.j41(11,"ion-buttons"),t.DNE(12,$,1,0,"ion-icon",16),t.j41(13,"ion-icon",17),t.bIt("click",function(){t.eBV(e);const a=t.XpG().$implicit,o=t.XpG();return t.Njj(o.moreOtions(a))}),t.k0s()()()()}if(2&n){const e=t.XpG().$implicit,i=t.XpG();t.R7$(2),t.Y8G("ngIf",e.metaData.mimetype===i.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",(null==e||null==e.metaData?null:e.metaData.mimetype)===i.mimeType.YOUTUBE&&!e.play),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===i.mimeType.MP4),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===i.mimeType.PDF),t.R7$(),t.Y8G("ngIf",(null==e||null==e.metaData?null:e.metaData.mimetype)===(null==i.mimeType?null:i.mimeType.LINK)),t.R7$(),t.Y8G("src",""!=(null==e||null==e.metaData?null:e.metaData.thumbnail)||e.metaData.identifier.startsWith("do_")?"":"https://ejaaduipitara.ncert.gov.in/assets/img/cards.jpg",t.B4B),t.R7$(3),t.JRh(null==e.metaData?null:e.metaData.name),t.R7$(2),t.Y8G("ngIf","local"===e.source)}}function w(n,l){if(1&n&&(t.j41(0,"div",6),t.DNE(1,R,14,8,"div",7),t.k0s()),2&n){const e=l.$implicit;t.R7$(),t.Y8G("ngIf",null==e?null:e.metaData)}}const Y=[{path:"",component:(()=>{var n;class l{constructor(i,a,o,r){var p;this.router=i,this.headerService=a,this.modalCtrl=o,this.playlistService=r,this.playlists=[],this.mimeType=P.Cc,this.navigated=!1,this.headerEventSub=null;let _=null===(p=this.router.getCurrentNavigation())||void 0===p?void 0:p.extras;var u;_&&(this.playContentObject=null===(u=_.state)||void 0===u?void 0:u.playlist,this.playContentObject.playListcontentList.map(v=>{v.metaData=JSON.parse(v.content_metadata)}),this.playlists=this.playContentObject.playListcontentList)}ngOnInit(){this.headerService.showHeader(this.playContentObject.name,!0,["edit"]),this.headerService.headerEventEmitted$.subscribe(i=>{"edit"===i?this.router.navigate(["/create-playlist"],{state:{playlists:this.playContentObject,islocal:!0}}):"back"===i&&!this.navigated&&(this.navigated=!0,this.router.navigate(["/tabs/my-pitara"]))})}ionViewWillEnter(){this.navigated=!1,this.headerService.showHeader(this.playContentObject.name,!0,["edit"])}ngOnDestroy(){try{this.headerEventSub&&this.headerEventSub.unsubscribe()}catch(i){console.log("error in unsubscribe",i)}}playContent(i){var a=this;return(0,m.A)(function*(){yield a.router.navigate(["/player"],{state:{content:i}})})()}deletePlaylist(i){var a=this;return(0,m.A)(function*(){yield a.playlistService.deleteContentFromPlayList(a.playContentObject.identifier,[i.identifier]).then(o=>{a.getPlaylistContent()}).catch(o=>{console.log("err",o)})})()}getPlaylistContent(){var i=this;return(0,m.A)(function*(){yield i.playlistService.getPlayListContents(i.playContentObject.identifier).then(a=>{i.playlists=a,i.playlists.map(o=>{o.metaData=JSON.parse(o.content_metadata)}),i.playContentObject.playListcontentList=i.playlists})})()}moreOtions(i){var a=this;return(0,m.A)(function*(){const o=yield a.modalCtrl.create({component:D.J,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield o.present(),o.onWillDismiss().then(r=>{r&&"delete"===r.data.type?a.deletePlaylist(i):r&&"edit"===r.data.type&&a.router.navigate(["/create-playlist"],{state:{playlists:a.playContentObject,islocal:!0}})})})()}}return(n=l).\u0275fac=function(i){return new(i||n)(t.rXU(g.Ix),t.rXU(C.Ux),t.rXU(c.W3),t.rXU(b.q))},n.\u0275cmp=t.VBU({type:n,selectors:[["app-playlist-details"]],decls:4,vars:3,consts:[[3,"fullscreen"],["class","bot-section",4,"ngIf"],["id","content-list"],["class","cards-container",4,"ngFor","ngForOf"],[1,"bot-section"],[1,"bot-section__text"],[1,"cards-container"],["class","card",4,"ngIf"],[1,"card"],[1,"card__img",3,"click"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],["src","assets/images/LINK.png","alt","",4,"ngIf"],["alt","",3,"src"],[1,"card__metadata"],[1,"card__title"],["aria-hidden","true","class","icon-right","src","assets/icon/sd-card.svg",4,"ngIf"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",1,"icon-left",3,"click"],["appThumbnail","","alt","",3,"appThumbnail"],["src","assets/images/LINK.png","alt",""],["aria-hidden","true","src","assets/icon/sd-card.svg",1,"icon-right"]],template:function(i,a){1&i&&(t.j41(0,"ion-content",0),t.DNE(1,M,4,3,"div",1),t.j41(2,"div",2),t.DNE(3,w,2,1,"div",3),t.k0s()()),2&i&&(t.Y8G("fullscreen",!0),t.R7$(),t.Y8G("ngIf",!a.playlists.length),t.R7$(2),t.Y8G("ngForOf",a.playlists))},dependencies:[d.Sq,d.bT,c.QW,c.W9,c.iq,O.g,y.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}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}ion-content[_ngcontent-%COMP%]{--padding-top: 3.5rem }.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}.icon-right[_ngcontent-%COMP%]{margin-right:10px}.icon-left[_ngcontent-%COMP%]{margin-left:10px}.bot-section__text[_ngcontent-%COMP%]{position:absolute;left:46%;right:0;top:16%;transform:translate(-50%,-50%);text-align:center;color:var(--ion-color-medium);font-size:.75rem}"]}),l})()}];let B=(()=>{var n;class l{}return(n=l).\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[g.iI.forChild(Y),g.iI]}),l})();var k=s(3721);let E=(()=>{var n;class l{}return(n=l).\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[d.MD,f.YN,c.bv,B,y.h,k.h]}),l})()}}]);
\ No newline at end of file
diff --git a/www/4392.422841214a0f80b8.js b/www/4392.422841214a0f80b8.js
new file mode 100644
index 00000000..e860db6c
--- /dev/null
+++ b/www/4392.422841214a0f80b8.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4392],{4392:(Ae,M,r)=>{r.r(M),r.d(M,{HomePageModule:()=>_e});var g=r(8974),v=r(177),A=r(9417),y=r(3021),h=r(467),x=r(56),G=r(2849),H=r(9441),R=r(3649),E=r(7420),D=r(8666),L=r(8941),U=r(446),e=r(4438),f=r(2904),j=r(444),$=r(3696),X=r(7594),I=r(6598),B=r(1413);let N=(()=>{var i;class l{constructor(){var t=this;this.connected=!1,this.networkInfo=new B.B,this.networkConnection$=this.networkInfo.asObservable(),I.l.addListener("networkStatusChange",function(){var n=(0,h.A)(function*(a){t.connected=a.connected,t.networkInfo.next(t.connected)});return function(a){return n.apply(this,arguments)}}())}getNetworkStatus(){var t=this;return(0,h.A)(function*(){return t.connected=yield(yield I.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 F=r(345),Y=r(5173),C=r(5402),V=r(4447),W=r(3207),K=r(6354),z=r(9437),O=r(3172),T=r(985),k=r(6421),J=r(2700);let Q=(()=>{var i;class l{constructor(t){this.apiService=t,this.transaction_id=(0,k.A)(),this.message_id=(0,k.A)()}onConfirmContent(t){var n=this;return(0,h.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:n.transaction_id,message_id:n.message_id,timestamp:(new Date).toISOString()},message:{order:{items:[{id:t.id}],fulfillments:[{customer:{person:{name:"",age:""},contact:{phone:"",email:""}}}]}}});let m=JSON.stringify(a);const s=(new T._g.Builder).withHost(O.$.api.BASE_URL).withPath(O.$.api.CONFIRM_API).withType(T.kr.POST).withBody(m).withBearerToken(!0).withLanguge(t.currentLang).build();return(0,W.s)(n.apiService.fetch(s).pipe((0,K.T)(d=>d.body),(0,z.W)(d=>{throw d})))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.KVO(J.G))},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),l})();var Z=r(2297),q=r(4254);const ee=["refresher"],te=()=>[0,1,2,3,4,5,6,7,8];function ne(i,l){1&i&&(e.j41(0,"div",9),e.nrm(1,"ion-spinner",10),e.k0s())}function ie(i,l){1&i&&(e.j41(0,"div",13)(1,"div",14)(2,"div",15),e.nrm(3,"app-skeleton-item",16),e.k0s(),e.j41(4,"div",17)(5,"div",18),e.nrm(6,"app-skeleton-item",19),e.k0s(),e.j41(7,"div",20),e.nrm(8,"app-skeleton-item",19),e.k0s()()()())}function oe(i,l){1&i&&(e.j41(0,"ion-list",11),e.DNE(1,ie,9,0,"div",12),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngForOf",e.lJ4(1,te)))}function ae(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",21)(2,"ion-label",22),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,1,"No Result")))}function re(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",21)(2,"ion-label",22),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 se(i,l){if(1&i&&e.nrm(0,"img",29),2&i){const o=e.XpG(2).$implicit;e.Y8G("src",null!=o&&null!=o.metaData&&o.metaData.thumbnail&&!o.metaData.identifier.startsWith("do_")?null==o||null==o.metaData?null:o.metaData.thumbnail:"assets/images/Audio.png",e.B4B)}}function le(i,l){if(1&i&&e.nrm(0,"img",32),2&i){const o=e.XpG(2).$implicit;e.Y8G("appThumbnail",null==o?null:o.metaData)}}function ce(i,l){if(1&i&&e.nrm(0,"img",29),2&i){const o=e.XpG(2).$implicit;e.Y8G("src",null!=o&&null!=o.metaData&&o.metaData.thumbnail&&!o.metaData.identifier.startsWith("do_")?null==o||null==o.metaData?null:o.metaData.thumbnail:"assets/images/Video.png",e.B4B)}}function me(i,l){if(1&i&&e.nrm(0,"img",29),2&i){const o=e.XpG(2).$implicit;e.Y8G("src",null!=o&&null!=o.metaData&&o.metaData.thumbnail&&!o.metaData.identifier.startsWith("do_")?null==o||null==o.metaData?null:o.metaData.thumbnail:"assets/images/PDF.png",e.B4B)}}function de(i,l){1&i&&e.nrm(0,"img",33)}function he(i,l){if(1&i){const o=e.RV6();e.j41(0,"div",14)(1,"div",25),e.bIt("click",function(n){e.eBV(o);const a=e.XpG().$implicit,m=e.XpG(2);return e.Njj(m.playContent(n,a))}),e.DNE(2,se,1,1,"img",26)(3,le,1,1,"img",27)(4,ce,1,1,"img",26)(5,me,1,1,"img",26)(6,de,1,0,"img",28),e.nrm(7,"img",29),e.k0s(),e.j41(8,"div",17)(9,"div",30),e.EFF(10),e.k0s(),e.j41(11,"ion-icon",31),e.bIt("click",function(){e.eBV(o);const n=e.XpG().$implicit,a=e.XpG(2);return e.Njj(a.moreOtions(n))}),e.k0s()()()}if(2&i){const o=e.XpG().$implicit,t=e.XpG(2);e.R7$(2),e.Y8G("ngIf",o.metaData.mimetype===t.mimeType.AUDIO),e.R7$(),e.Y8G("ngIf",(null==o||null==o.metaData?null:o.metaData.mimetype)===t.mimeType.YOUTUBE&&!o.play),e.R7$(),e.Y8G("ngIf",o.metaData.mimetype===t.mimeType.MP4),e.R7$(),e.Y8G("ngIf",o.metaData.mimetype===t.mimeType.PDF),e.R7$(),e.Y8G("ngIf",(null==o||null==o.metaData?null:o.metaData.mimetype)===(null==t.mimeType?null:t.mimeType.LINK)),e.R7$(),e.Y8G("src",""!=(null==o||null==o.metaData?null:o.metaData.thumbnail)||o.metaData.identifier.startsWith("do_")?"":"https://ejaaduipitara.ncert.gov.in/assets/img/cards.jpg",e.B4B),e.R7$(3),e.JRh(null==o.metaData?null:o.metaData.name)}}function ge(i,l){if(1&i&&(e.j41(0,"div",13),e.DNE(1,he,12,7,"div",24),e.k0s()),2&i){const o=l.$implicit;e.R7$(),e.Y8G("ngIf",o.metaData&&o.metaData.name)}}function ue(i,l){if(1&i&&(e.j41(0,"ion-list",23),e.DNE(1,ge,2,1,"div",12),e.k0s()),2&i){const o=e.XpG();e.R7$(),e.Y8G("ngForOf",o.configContents)}}function fe(i,l){if(1&i){const o=e.RV6();e.j41(0,"ion-infinite-scroll",34),e.bIt("ionInfinite",function(n){e.eBV(o);const a=e.XpG();return e.Njj(a.onIonInfinite(n))}),e.nrm(1,"ion-infinite-scroll-content"),e.k0s()}}const pe=[{path:"",component:(()=>{var i;class l{constructor(t,n,a,m,s,d,u,p,Se,Pe,be,we,Me,De,Ie,Oe,Te,ke){this.headerService=t,this.router=n,this.contentService=a,this.configService=m,this.sunbirdProcess=s,this.modalCtrl=d,this.networkService=u,this.cacheService=p,this.domSanitiser=Se,this.storage=Pe,this.telemetryGeneratorService=be,this.searchService=we,this.translateService=Me,this.toastController=De,this.botMessageApiService=Ie,this.lcoalNotifService=Oe,this.appUpdateService=Te,this.confirmService=ke,this.refresh=!1,this.showSheenAnimation=!0,this.contentList=[],this.isOpen=!1,this.configContents=[],this.optModalOpen=!1,this.networkConnected=!1,this.mimeType=x.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=[],U.g.then(c=>{var _,S,P,b,w;this.configVariables=c,null!=c&&c.primaryCss&&null!=c&&null!==(_=c.primaryCss)&&void 0!==_&&_.primary&&document.documentElement.style.setProperty("--ion-color-primary",c.primaryCss.primary),null!=c&&c.secondaryCss&&(!(null==c||null===(S=c.secondaryCss)||void 0===S)&&S.secondary&&document.documentElement.style.setProperty("--ion-color-secondary",null==c||null===(P=c.secondaryCss)||void 0===P?void 0:P.secondary),null!=c&&null!==(b=c.secondaryCss)&&void 0!==b&&b.shade&&document.documentElement.style.setProperty("--ion-color-secondary-shade",null==c||null===(w=c.secondaryCss)||void 0===w?void 0:w.shade))}).catch(c=>{console.error("Failed to load configuration:",c)}),L.q.getInfo().then(c=>{this.appName=c.name}),this.configContents=[],this.contentList=[],this.networkChangeSub=this.networkService.networkConnection$.subscribe(c=>{this.networkConnected=c})}ngOnDestroy(){var t=this;return(0,h.A)(function*(){const n=yield t.modalCtrl.getTop();n&&n.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,h.A)(function*(){t.headerService.headerEventEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){if("language"==d){let u=yield t.storage.getData("lang");t.responseList=yield t.searchService.postContentSearch(n,yield t.storage.getData("lang")),t.selectedLang!==u&&(t.selectedLang=u,t.showSheenAnimation=!0,t.getServerMetaConfig())}});return function(d){return s.apply(this,arguments)}}());let n={};t.headerService.filterConfigEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){t.configContents=[],t.contentList=[],t.serverError=!1,t.showSheenAnimation=!0;let u=yield t.storage.getData("lang"),p=yield t.configService.getAllContent(n,u);t.mappUIContentList(p)});return function(d){return s.apply(this,arguments)}}()),t.headerService.sideMenuItemEventEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){let u;u=""==d.query||"All"==(null==d?void 0:d.query)?{}:{category:d.query},console.log(d),t.showSheenAnimation=!0;try{t.responseList=[],t.responseList=yield t.searchService.postContentSearch(u,yield t.storage.getData("lang")),t.mappUIContentList(t.responseList)}catch(p){console.log("error",p)}});return function(d){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 D.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 n=this;return(0,h.A)(function*(){if(n.showSheenAnimation=!1,n.configContents=[],n.contentList=[],t.length>0){n.noSearchData=!1;let a={};t.forEach((m,s)=>{a={},a.source="djp",a.sourceType="djp-content",a.metaData=m,n.contentList.push(a),s<50&&n.configContents.push(a)}),yield n.contentService.saveContents(n.contentList),n.contentService.getAllContent().then(m=>{n.contentList=[],n.contentList=m})}else n.noSearchData=!0})()}getServerMetaConfig(){var t=this;return(0,h.A)(function*(){yield t.storage.getData("configMeta");let a=t.configVariables.headerFilters;a.forEach(m=>{t.filters=m.additionalFilters.sort((s,d)=>s.index-d.index)}),t.languages=t.configVariables.languages.sort((m,s)=>m.id.localeCompare(s.id)),t.headerService.filterEvent({defaultFilter:a[0].defaultFilter,filter:t.filters,languages:t.languages})})()}tabViewWillEnter(){var t=this;return(0,h.A)(function*(){yield t.headerService.showHeader(t.appName,!1),setTimeout(()=>{t.headerService.showStatusBar(!1)},0)})()}ionViewWillEnter(){var t=this;return(0,h.A)(function*(){t.tabViewWillEnter()})()}ionViewDidEnter(){this.headerService.showStatusBar(!1)}moreOtions(t){var n=this;return(0,h.A)(function*(){let a;n.optModalOpen||(n.optModalOpen=!0,a=yield n.modalCtrl.create({component:G.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 m=(0,h.A)(function*(s){n.optModalOpen=!1,s.data&&"addToPitara"===s.data.type?n.addContentToMyPitara(s.data.content||t):s.data&&"like"==s.data.type&&(n.contentService.likeContent(s.data.content||t,"guest",!0),s.data.content.metaData.isLiked&&(yield D.Q.play({assetId:"windchime"}),(0,E.A)({startVelocity:30,particleCount:400,spread:360,ticks:60,origin:{y:.5,x:.5},colors:["#a864fd","#29cdff","#78ff44","#ff718d","#fdff6a"]})),n.telemetryGeneratorService.generateInteractTelemetry("TOUCH","content-liked","home","home",new R.$i(null==t?void 0:t.metaData.identifier,null==t?void 0:t.metaData.mimetype,"")))});return function(s){return m.apply(this,arguments)}}())})()}initialiseSources(t,n){const a=n.mappings;t.sources&&t.sources.length>0&&t.sources.forEach(m=>{if("sunbird"==m.sourceType){const s=a.find(d=>"sunbird"==d.sourceType);this.sunbirdProcess.process(m,s)}})}playContent(t,n){var a=this;return(0,h.A)(function*(){a.contentService.markContentAsViewed(n),a.configContents.forEach(m=>{m.play=!1}),yield a.router.navigate(["/player"],{state:{content:n}})})()}addContentToMyPitara(t){var n=this;return(0,h.A)(function*(){const a=yield n.modalCtrl.create({component:H.$,componentProps:{content:t},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield a.present(),a.onWillDismiss().then(m=>{})})()}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 n=t.split("&")[0];return this.domSanitiser.bypassSecurityTrustResourceUrl(n.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 n=this.configContents.length;n{this.generateItems(),t.target.complete()},500)}confirmContent(t){var n=this;return(0,h.A)(function*(){null!=t&&(yield n.confirmService.onConfirmContent(t.metaData))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.rXU(f.Ux),e.rXU(y.Ix),e.rXU(j.f),e.rXU($.w),e.rXU(X.q),e.rXU(g.W3),e.rXU(N),e.rXU(f.dk),e.rXU(F.up),e.rXU(f.n$),e.rXU(Y.O),e.rXU(f.Sc),e.rXU(C.c$),e.rXU(g.K_),e.rXU(f.F_),e.rXU(f.MK),e.rXU(V.i),e.rXU(Q))},i.\u0275cmp=e.VBU({type:i,selectors:[["app-home"]],viewQuery:function(t,n){if(1&t&&e.GBs(ee,5),2&t){let a;e.mGM(a=e.lsd())&&(n.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"],["id","content-list",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"],["id","content-list"],["class","card",4,"ngIf"],[1,"card__img",3,"click"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],["src","assets/images/LINK.png","alt","",4,"ngIf"],["alt","",3,"src"],[1,"card__title"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",3,"click"],["appThumbnail","","alt","",3,"appThumbnail"],["src","assets/images/LINK.png","alt",""],[3,"ionInfinite"]],template:function(t,n){if(1&t){const a=e.RV6();e.j41(0,"ion-content",1),e.DNE(1,ne,2,0,"div",2),e.j41(2,"ion-refresher",3,0),e.bIt("ionRefresh",function(s){return e.eBV(a),e.Njj(n.doRefresh(s))}),e.nrm(4,"ion-refresher-content",4),e.k0s(),e.DNE(5,oe,2,2,"ion-list",5)(6,ae,5,3,"ion-list",6)(7,re,5,3,"ion-list",6)(8,ue,2,1,"ion-list",7)(9,fe,2,0,"ion-infinite-scroll",8),e.k0s()}2&t&&(e.Y8G("fullscreen",!0),e.R7$(),e.Y8G("ngIf",n.refresh),e.R7$(4),e.Y8G("ngIf",n.showSheenAnimation),e.R7$(),e.Y8G("ngIf",!n.showSheenAnimation&&n.noSearchData&&0==n.configContents.length),e.R7$(),e.Y8G("ngIf",!n.showSheenAnimation&&n.serverError),e.R7$(),e.Y8G("ngIf",!n.showSheenAnimation&&n.configContents.length>0),e.R7$(),e.Y8G("ngIf",!n.showSheenAnimation&&n.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,Z.O,q.g,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}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}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 ve=(()=>{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:[y.iI.forChild(pe),y.iI]}),l})();var ye=r(5553),Ce=r(3721);let _e=(()=>{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,A.YN,ve,C.h,ye.h,Ce.h]}),l})()}}]);
\ No newline at end of file
diff --git a/www/4392.b4fe58b088879926.js b/www/4392.b4fe58b088879926.js
deleted file mode 100644
index 19cd94a5..00000000
--- a/www/4392.b4fe58b088879926.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4392],{4392:(xe,w,r)=>{r.r(w),r.d(w,{HomePageModule:()=>Se});var u=r(8974),v=r(177),A=r(9417),_=r(3021),h=r(467),x=r(56),G=r(2849),H=r(9441),R=r(3649),E=r(7420),M=r(8666),L=r(8941),U=r(446),e=r(4438),p=r(2904),j=r(444),$=r(3696),B=r(7594),I=r(6598),X=r(1413);let N=(()=>{var i;class l{constructor(){var t=this;this.connected=!1,this.networkInfo=new X.B,this.networkConnection$=this.networkInfo.asObservable(),I.l.addListener("networkStatusChange",function(){var a=(0,h.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,h.A)(function*(){return t.connected=yield(yield I.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 F=r(345),Y=r(5173),y=r(5402),V=r(4447),W=r(3207),K=r(6354),z=r(9437),O=r(3172),T=r(985),k=r(6421),J=r(2700);let Q=(()=>{var i;class l{constructor(t){this.apiService=t,this.transaction_id=(0,k.A)(),this.message_id=(0,k.A)()}onConfirmContent(t){var a=this;return(0,h.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 m=JSON.stringify(o);const s=(new T._g.Builder).withHost(O.$.api.BASE_URL).withPath(O.$.api.CONFIRM_API).withType(T.kr.POST).withBody(m).withBearerToken(!0).withLanguge(t.currentLang).build();return(0,W.s)(a.apiService.fetch(s).pipe((0,K.T)(d=>d.body),(0,z.W)(d=>{throw d})))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.KVO(J.G))},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),l})();var Z=r(2297),q=r(4254);const ee=["refresher"],te=()=>[0,1,2,3,4,5,6,7,8];function ne(i,l){1&i&&(e.j41(0,"div",9),e.nrm(1,"ion-spinner",10),e.k0s())}function ie(i,l){1&i&&(e.j41(0,"div",13)(1,"div",14)(2,"div",15),e.nrm(3,"app-skeleton-item",16),e.k0s(),e.j41(4,"div",17)(5,"div",18),e.nrm(6,"app-skeleton-item",19),e.k0s(),e.j41(7,"div",20),e.nrm(8,"app-skeleton-item",19),e.k0s()()()())}function ae(i,l){1&i&&(e.j41(0,"ion-list",11),e.DNE(1,ie,9,0,"div",12),e.k0s()),2&i&&(e.R7$(),e.Y8G("ngForOf",e.lJ4(1,te)))}function oe(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",21)(2,"ion-label",22),e.EFF(3),e.nI1(4,"translate"),e.k0s()()()),2&i&&(e.R7$(3),e.JRh(e.bMT(4,1,"No Result")))}function re(i,l){1&i&&(e.j41(0,"ion-list")(1,"ion-item",21)(2,"ion-label",22),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 se(i,l){if(1&i&&e.nrm(0,"img",28),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 le(i,l){if(1&i&&e.nrm(0,"img",31),2&i){const n=e.XpG(2).$implicit;e.Y8G("appThumbnail",null==n?null:n.metaData)}}function ce(i,l){if(1&i&&e.nrm(0,"img",28),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 me(i,l){if(1&i&&e.nrm(0,"img",28),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 de(i,l){if(1&i&&e.nrm(0,"img",28),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 he(i,l){if(1&i&&e.nrm(0,"img",28),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 ue(i,l){if(1&i){const n=e.RV6();e.j41(0,"div",14)(1,"div",25),e.bIt("click",function(a){e.eBV(n);const o=e.XpG().$implicit,m=e.XpG(2);return e.Njj(m.playContent(a,o))}),e.DNE(2,se,1,1,"img",26)(3,le,1,1,"img",27)(4,ce,1,1,"img",26)(5,me,1,1,"img",26)(6,de,1,1,"img",26)(7,he,1,1,"img",26),e.nrm(8,"img",28),e.k0s(),e.j41(9,"div",17)(10,"div",29),e.EFF(11),e.k0s(),e.j41(12,"ion-icon",30),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",(null==n||null==n.metaData?null:n.metaData.mimetype)===t.mimeType.YOUTUBE&&!n.play),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 ge(i,l){if(1&i&&(e.j41(0,"div",13),e.DNE(1,ue,13,8,"div",24),e.k0s()),2&i){const n=l.$implicit;e.R7$(),e.Y8G("ngIf",n.metaData&&n.metaData.name)}}function pe(i,l){if(1&i&&(e.j41(0,"ion-list",23),e.DNE(1,ge,2,1,"div",12),e.k0s()),2&i){const n=e.XpG();e.R7$(),e.Y8G("ngForOf",n.configContents)}}function fe(i,l){if(1&i){const n=e.RV6();e.j41(0,"ion-infinite-scroll",32),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 ve=[{path:"",component:(()=>{var i;class l{constructor(t,a,o,m,s,d,g,f,Pe,be,De,we,Me,Ie,Oe,Te,ke,Ae){this.headerService=t,this.router=a,this.contentService=o,this.configService=m,this.sunbirdProcess=s,this.modalCtrl=d,this.networkService=g,this.cacheService=f,this.domSanitiser=Pe,this.storage=be,this.telemetryGeneratorService=De,this.searchService=we,this.translateService=Me,this.toastController=Ie,this.botMessageApiService=Oe,this.lcoalNotifService=Te,this.appUpdateService=ke,this.confirmService=Ae,this.refresh=!1,this.showSheenAnimation=!0,this.contentList=[],this.isOpen=!1,this.configContents=[],this.optModalOpen=!1,this.networkConnected=!1,this.mimeType=x.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=[],U.g.then(c=>{var C,S,P,b,D;this.configVariables=c,null!=c&&c.primaryCss&&null!=c&&null!==(C=c.primaryCss)&&void 0!==C&&C.primary&&document.documentElement.style.setProperty("--ion-color-primary",c.primaryCss.primary),null!=c&&c.secondaryCss&&(!(null==c||null===(S=c.secondaryCss)||void 0===S)&&S.secondary&&document.documentElement.style.setProperty("--ion-color-secondary",null==c||null===(P=c.secondaryCss)||void 0===P?void 0:P.secondary),null!=c&&null!==(b=c.secondaryCss)&&void 0!==b&&b.shade&&document.documentElement.style.setProperty("--ion-color-secondary-shade",null==c||null===(D=c.secondaryCss)||void 0===D?void 0:D.shade))}).catch(c=>{console.error("Failed to load configuration:",c)}),L.q.getInfo().then(c=>{this.appName=c.name}),this.configContents=[],this.contentList=[],this.networkChangeSub=this.networkService.networkConnection$.subscribe(c=>{this.networkConnected=c})}ngOnDestroy(){var t=this;return(0,h.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,h.A)(function*(){t.headerService.headerEventEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){if("language"==d){let g=yield t.storage.getData("lang");t.responseList=yield t.searchService.postContentSearch(a,yield t.storage.getData("lang")),t.selectedLang!==g&&(t.selectedLang=g,t.showSheenAnimation=!0,t.getServerMetaConfig())}});return function(d){return s.apply(this,arguments)}}());let a={};t.headerService.filterConfigEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){t.configContents=[],t.contentList=[],t.serverError=!1,t.showSheenAnimation=!0;let g=yield t.storage.getData("lang"),f=yield t.configService.getAllContent(a,g);t.mappUIContentList(f)});return function(d){return s.apply(this,arguments)}}()),t.headerService.sideMenuItemEventEmitted$.subscribe(function(){var s=(0,h.A)(function*(d){let g;g=""==d.query||"All"==(null==d?void 0:d.query)?{}:{category:d.query},console.log(d),t.showSheenAnimation=!0;try{t.responseList=[],t.responseList=yield t.searchService.postContentSearch(g,yield t.storage.getData("lang")),t.mappUIContentList(t.responseList)}catch(f){console.log("error",f)}});return function(d){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 M.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,h.A)(function*(){if(a.showSheenAnimation=!1,a.configContents=[],a.contentList=[],t.length>0){a.noSearchData=!1;let o={};t.forEach((m,s)=>{o={},o.source="djp",o.sourceType="djp-content",o.metaData=m,a.contentList.push(o),s<50&&a.configContents.push(o)}),yield a.contentService.saveContents(a.contentList),a.contentService.getAllContent().then(m=>{a.contentList=[],a.contentList=m})}else a.noSearchData=!0})()}getServerMetaConfig(){var t=this;return(0,h.A)(function*(){yield t.storage.getData("configMeta");let o=t.configVariables.headerFilters;o.forEach(m=>{t.filters=m.additionalFilters.sort((s,d)=>s.index-d.index)}),t.languages=t.configVariables.languages.sort((m,s)=>m.id.localeCompare(s.id)),t.headerService.filterEvent({defaultFilter:o[0].defaultFilter,filter:t.filters,languages:t.languages})})()}tabViewWillEnter(){var t=this;return(0,h.A)(function*(){yield t.headerService.showHeader(t.appName,!1),setTimeout(()=>{t.headerService.showStatusBar(!1)},0)})()}ionViewWillEnter(){var t=this;return(0,h.A)(function*(){t.tabViewWillEnter()})()}ionViewDidEnter(){this.headerService.showStatusBar(!1)}moreOtions(t){var a=this;return(0,h.A)(function*(){let o;a.optModalOpen||(a.optModalOpen=!0,o=yield a.modalCtrl.create({component:G.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 m=(0,h.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 M.Q.play({assetId:"windchime"}),(0,E.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 R.$i(null==t?void 0:t.metaData.identifier,null==t?void 0:t.metaData.mimetype,"")))});return function(s){return m.apply(this,arguments)}}())})()}initialiseSources(t,a){const o=a.mappings;t.sources&&t.sources.length>0&&t.sources.forEach(m=>{if("sunbird"==m.sourceType){const s=o.find(d=>"sunbird"==d.sourceType);this.sunbirdProcess.process(m,s)}})}playContent(t,a){var o=this;return(0,h.A)(function*(){o.contentService.markContentAsViewed(a),o.configContents.forEach(m=>{m.play=!1}),yield o.router.navigate(["/player"],{state:{content:a}})})()}addContentToMyPitara(t){var a=this;return(0,h.A)(function*(){const o=yield a.modalCtrl.create({component:H.$,componentProps:{content:t},cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield o.present(),o.onWillDismiss().then(m=>{})})()}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,h.A)(function*(){null!=t&&(yield a.confirmService.onConfirmContent(t.metaData))})()}}return(i=l).\u0275fac=function(t){return new(t||i)(e.rXU(p.Ux),e.rXU(_.Ix),e.rXU(j.f),e.rXU($.w),e.rXU(B.q),e.rXU(u.W3),e.rXU(N),e.rXU(p.dk),e.rXU(F.up),e.rXU(p.n$),e.rXU(Y.O),e.rXU(p.Sc),e.rXU(y.c$),e.rXU(u.K_),e.rXU(p.F_),e.rXU(p.MK),e.rXU(V.i),e.rXU(Q))},i.\u0275cmp=e.VBU({type:i,selectors:[["app-home"]],viewQuery:function(t,a){if(1&t&&e.GBs(ee,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"],["id","content-list",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"],["id","content-list"],["class","card",4,"ngIf"],[1,"card__img",3,"click"],["alt","",3,"src",4,"ngIf"],["appThumbnail","","alt","",3,"appThumbnail",4,"ngIf"],["alt","",3,"src"],[1,"card__title"],["aria-hidden","true","src","assets/icon/kabab-icon.svg",3,"click"],["appThumbnail","","alt","",3,"appThumbnail"],[3,"ionInfinite"]],template:function(t,a){if(1&t){const o=e.RV6();e.j41(0,"ion-content",1),e.DNE(1,ne,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,ae,2,2,"ion-list",5)(6,oe,5,3,"ion-list",6)(7,re,5,3,"ion-list",6)(8,pe,2,1,"ion-list",7)(9,fe,2,0,"ion-infinite-scroll",8),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:[u.W9,u.iq,u.Ax,u.Hp,u.uz,u.he,u.nf,u.To,u.Ki,u.w2,v.Sq,v.bT,Z.O,q.g,y.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}#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}@media (max-width: 700px){#content-list[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(1,1fr);grid-template-rows:repeat(5,1fr);grid-column-gap:0px;grid-row-gap:0px}}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 _e=(()=>{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(ve),_.iI]}),l})();var ye=r(5553),Ce=r(3721);let Se=(()=>{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:[u.bv,v.MD,A.YN,_e,y.h,ye.h,Ce.h]}),l})()}}]);
\ No newline at end of file
diff --git a/www/4567.2a1836c7dd32dcb8.js b/www/4567.2a1836c7dd32dcb8.js
new file mode 100644
index 00000000..050a1ac9
--- /dev/null
+++ b/www/4567.2a1836c7dd32dcb8.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4567],{4567:(v,u,c)=>{c.r(u),c.d(u,{MyPitaraPageModule:()=>L});var d=c(8974),g=c(177),y=c(9417),r=c(3021),m=c(467),_=c(5301),P=c(4733),f=c(56),t=c(4438),M=c(3568),b=c(444),C=c(7803),h=c(5402);function O(i,o){1&i&&(t.j41(0,"div",15)(1,"div",16)(2,"div",17),t.EFF(3),t.nI1(4,"translate"),t.k0s()()()),2&i&&(t.R7$(3),t.JRh(t.bMT(4,1,"No contents")))}function w(i,o){if(1&i&&t.nrm(0,"img",24),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function k(i,o){if(1&i&&t.nrm(0,"img",24),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/youtube-video.png",t.B4B)}}function D(i,o){if(1&i&&t.nrm(0,"img",24),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function I(i,o){if(1&i&&t.nrm(0,"img",24),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function T(i,o){1&i&&t.nrm(0,"img",25)}function x(i,o){if(1&i&&(t.j41(0,"ion-card"),t.DNE(1,w,1,1,"img",22)(2,k,1,1,"img",22)(3,D,1,1,"img",22)(4,I,1,1,"img",22)(5,T,1,0,"img",23),t.k0s()),2&i){const e=t.XpG().$implicit,n=t.XpG();t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.YOUTUBE),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.MP4),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.PDF),t.R7$(),t.Y8G("ngIf",(null==e||null==e.metaData?null:e.metaData.mimetype)===(null==n.mimeType?null:n.mimeType.LINK))}}function R(i,o){if(1&i&&(t.j41(0,"div",26),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&i){const e=t.XpG().$implicit;t.R7$(),t.JRh(t.bMT(2,1,e.metaData.name))}}function E(i,o){if(1&i){const e=t.RV6();t.j41(0,"div",18)(1,"div",19),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.playContent(a))}),t.DNE(2,x,6,5,"ion-card",20)(3,R,3,3,"div",21),t.k0s()()}if(2&i){const e=o.$implicit;t.R7$(2),t.Y8G("ngIf",null==e?null:e.metaData),t.R7$(),t.Y8G("ngIf",null==e||null==e.metaData?null:e.metaData.name)}}function j(i,o){1&i&&(t.j41(0,"div",27)(1,"div",28),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&i&&(t.R7$(2),t.JRh(t.bMT(3,1,"Click on New Playlist button to create your first playlist")))}function $(i,o){if(1&i&&(t.j41(0,"div",37),t.EFF(1),t.k0s()),2&i){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.name," ")}}function G(i,o){if(1&i){const e=t.RV6();t.j41(0,"div")(1,"div",29),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.navigateToDetails(a))}),t.j41(2,"div",30)(3,"ion-card"),t.nrm(4,"img",31),t.k0s(),t.nrm(5,"div",32)(6,"div",33),t.k0s(),t.DNE(7,$,2,1,"div",34),t.j41(8,"div",35),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.openModal(a))}),t.nrm(9,"ion-icon",36),t.k0s()()()}if(2&i){const e=o.$implicit;t.R7$(7),t.Y8G("ngIf",null==e?null:e.name)}}const F=[{path:"",component:(()=>{var i;class o{constructor(n,a,s,l,p){this.headerService=n,this.contentService=a,this.router=s,this.playListService=l,this.modalCtrl=p,this.contentList=[],this.playlists=[],this.isNavigate=!0,this.mimeType=f.Cc}ngOnInit(){var n=this;return(0,m.A)(function*(){n.headerService.deviceBackbtnEmitted$.subscribe(a=>{(a.name="backBtn")&&n.tabViewWillEnter()})})()}tabViewWillEnter(){var n=this;return(0,m.A)(function*(){yield n.headerService.showHeader("My Jaadui Pitara"),n.getRecentlyviewedContent(),n.getPlaylistContent()})()}ionViewWillEnter(){this.tabViewWillEnter()}viewAllCards(n){this.router.navigate(["/view-all"],{state:{type:n}})}getPlaylistContent(){var n=this;return(0,m.A)(function*(){n.playlists=[],yield n.playListService.getAllPlayLists("guest").then(a=>{n.playlists=a}).catch(a=>{console.log("error",a)})})()}getRecentlyviewedContent(){var n=this;return(0,m.A)(function*(){yield n.contentService.getRecentlyViewedContent("guest").then(a=>{n.contentList=[];let s={};a.filter(l=>{var p;return!s[l.contentIdentifier]&&(s[l.contentIdentifier]=!0,n.contentList.push(l),l.metaData.thumbnail=l.metaData.mimetype===f.Cc.YOUTUBE?n.loadYoutubeImg(l.metaData):!l.metaData.thumbnail||null!=l&&null!==(p=l.metaData.identifier)&&void 0!==p&&p.startsWith("do_")?P.O.getImagePath(l.metaData.mimeType||l.metaData.mimetype):l.metaData.thumbnail,!0)})}).catch(a=>{console.log("error",a)})})()}ngOnDestroy(){var n=this;return(0,m.A)(function*(){const a=yield n.modalCtrl.getTop();a&&a.dismiss()})()}createList(){this.router.navigate(["/create-playlist"])}deletePlaylist(n){var a=this;return(0,m.A)(function*(){yield a.playListService.deletePlayList(n.identifier).then(s=>{a.getPlaylistContent()}).catch(s=>{console.log("err",s)})})()}openModal(n){var a=this;return(0,m.A)(function*(){a.isNavigate=!1;const s=yield a.modalCtrl.create({component:_.J,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield s.present(),s.onWillDismiss().then(l=>{a.isNavigate=!0,l.data&&"delete"===l.data.type?a.deletePlaylist(n):l.data&&"edit"===l.data.type&&a.router.navigate(["/create-playlist"],{state:{playlists:n,islocal:!0,status:"edit"}})})})()}loadYoutubeImg(n){let a=n.identifier;const l=null==n?void 0:n.url.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return a=l?l[1]:null,`https://img.youtube.com/vi/${a}/mqdefault.jpg`}navigateToDetails(n){this.isNavigate&&this.router.navigate(["/playlist-details"],{state:{playlist:n}})}playContent(n){var a=this;return(0,m.A)(function*(){yield a.router.navigate(["/player"],{state:{content:n}})})()}}return(i=o).\u0275fac=function(n){return new(n||i)(t.rXU(M.U),t.rXU(b.f),t.rXU(r.Ix),t.rXU(C.q),t.rXU(d.W3))},i.\u0275cmp=t.VBU({type:i,selectors:[["app-mypitara"]],decls:26,vars:17,consts:[[3,"fullscreen"],[1,"grid-slider"],[1,"grid-slider__header"],[1,""],[1,"grid-slider__header__link",3,"click"],["class","viewed-content",4,"ngIf"],[1,"grid-slider__container"],["class","grid-slider__container__card",4,"ngFor","ngForOf"],[1,"playlist"],[1,"playlist__header"],[1,"playlist__header__button",3,"click"],["name","add-circle-outline","slot","end","aria-hidden","true",1,"secIcon"],["class","playlist-bot",4,"ngIf"],[1,"playlist__container"],[4,"ngFor","ngForOf"],[1,"viewed-content"],[1,"viewed-content__info"],[1,"viewed-content__info__text"],[1,"grid-slider__container__card"],[3,"click"],[4,"ngIf"],["class","card-title",4,"ngIf"],["alt","",3,"src",4,"ngIf"],["src","assets/images/LINK.png","alt","",4,"ngIf"],["alt","",3,"src"],["src","assets/images/LINK.png","alt",""],[1,"card-title"],[1,"playlist-bot"],[1,"playlist-bot__text"],[1,"playlist__container__items",3,"click"],[1,"playlist__container__items__cards"],["src","/assets/images/Playlist.png","alt",""],[1,"layer1"],[1,"layer2"],["class","playlist__container__items__metadata",4,"ngIf"],[1,"kabab-menu-icon",3,"click"],["slot","end","aria-hidden","true","src","../../../assets/icon/kabab-icon.svg"],[1,"playlist__container__items__metadata"]],template:function(n,a){1&n&&(t.j41(0,"ion-content",0)(1,"div",1)(2,"div",2)(3,"div",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"div",4),t.bIt("click",function(){return a.viewAllCards("recentlyviewed")}),t.EFF(7),t.nI1(8,"translate"),t.k0s()(),t.DNE(9,O,5,3,"div",5),t.j41(10,"div",6),t.DNE(11,E,4,2,"div",7),t.k0s()(),t.j41(12,"div",8)(13,"div",9)(14,"div",3),t.EFF(15),t.nI1(16,"translate"),t.k0s(),t.j41(17,"div",10),t.bIt("click",function(){return a.viewAllCards("playlist")}),t.j41(18,"ion-button"),t.EFF(19),t.nI1(20,"translate"),t.nrm(21,"ion-icon",11),t.k0s()()(),t.j41(22,"div"),t.DNE(23,j,4,3,"div",12),t.k0s(),t.j41(24,"div",13),t.DNE(25,G,10,1,"div",14),t.k0s()()()),2&n&&(t.Y8G("fullscreen",!0),t.R7$(4),t.JRh(t.bMT(5,9,"Recently Viewed")),t.R7$(3),t.JRh(t.bMT(8,11,"View All")),t.R7$(2),t.Y8G("ngIf",!a.contentList.length),t.R7$(2),t.Y8G("ngForOf",a.contentList),t.R7$(4),t.JRh(t.bMT(16,13,"My Playlist")),t.R7$(4),t.SpI("",t.bMT(20,15,"New Playlist")," "),t.R7$(4),t.Y8G("ngIf",!a.playlists.length),t.R7$(2),t.Y8G("ngForOf",a.playlists))},dependencies:[d.Jm,d.b_,d.W9,d.iq,g.Sq,g.bT,h.D9],styles:["ion-content[_ngcontent-%COMP%]{--padding-top: 35px !important}.grid-slider[_ngcontent-%COMP%]{padding:1rem;margin-top:7px}.grid-slider__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;font-size:.75rem;color:var(--ion-color-dark);font-weight:700}.grid-slider__header__link[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.grid-slider__container[_ngcontent-%COMP%]{display:grid;gap:.75rem;overflow-y:auto;overflow-x:auto;grid-auto-flow:column;justify-content:flex-start;padding:1rem 0 3rem}.grid-slider__container__card[_ngcontent-%COMP%]{width:7.5rem;height:4.5rem}.grid-slider__container__card[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%]{margin:0;box-shadow:none;border-radius:.5rem;height:100%}.grid-slider__container__card[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:4.5rem;width:100%}.grid-slider__container__card[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{font-size:.75rem;font-style:normal;font-weight:400;color:#2f2c2a;padding-top:.5rem;line-height:.875rem;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.playlist[_ngcontent-%COMP%]{padding:0 1rem;padding-top:0}.playlist__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--ion-color-dark);font-weight:700}.playlist__header__button[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{padding-left:.5rem}.playlist__container[_ngcontent-%COMP%]{padding-top:1rem}.playlist__container__items[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:flex-start;align-items:flex-start;gap:.5rem;margin-bottom:1.5rem}.playlist__container__items__cards[_ngcontent-%COMP%]{width:7.5rem;height:4.5rem;min-width:7.5rem;position:relative}.playlist__container__items[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%]{margin:0;box-shadow:none;border-radius:.5rem;height:100%}.playlist__container__items[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:100%}.playlist__container__items[_ngcontent-%COMP%] .layer1[_ngcontent-%COMP%]{height:4.5rem;background-color:#7d7d7d;margin-top:-1px;position:absolute;top:-.188rem;width:calc(100% - 12px);left:.375rem;right:.375rem;border-radius:.5rem;z-index:-1}.playlist__container__items[_ngcontent-%COMP%] .layer2[_ngcontent-%COMP%]{position:absolute;top:-8px;width:calc(100% - 20px);height:100%;left:.625rem;right:.625rem;border-radius:.5rem;background:#c3c3c3;z-index:-2;opacity:.7}.playlist__container__items__metadata[_ngcontent-%COMP%]{font-size:.75rem;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-right:1.5rem}.playlist__container__items[_ngcontent-%COMP%] .kabab-menu-icon[_ngcontent-%COMP%]{position:absolute;right:1rem}.playlist__container__items[_ngcontent-%COMP%] .kabab-menu-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}[_nghost-%COMP%] ion-button[_ngcontent-%COMP%]{--background: var(--ion-color-primary-contrast);--color: var(--ion-color-secondary);--border-radius: 30px;--border-color: var(--ion-color-secondary);--border-style: solid;--border-width: 1px;--box-shadow: none}ion-modal[_ngcontent-%COMP%]{--height: fit-content}.btn-len[_ngcontent-%COMP%]{width:88%}.playlist-bot[_ngcontent-%COMP%]{text-align:center;position:absolute;left:50%;right:0;top:55%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:12px}.playlist-bot__image[_ngcontent-%COMP%]{height:7rem;width:7rem;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.playlist-bot__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%}.playlist-bot__text[_ngcontent-%COMP%]{text-align:center;color:var(--ion-color-medium);font-size:.75rem}.viewed-content[_ngcontent-%COMP%]{padding:1.5rem}.viewed-content__info[_ngcontent-%COMP%]{position:absolute;left:50%;right:0;top:20%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center}.viewed-content__info__image[_ngcontent-%COMP%]{height:5rem;width:5rem;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.viewed-content__info__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%}.viewed-content__info__text[_ngcontent-%COMP%]{text-align:center;color:var(--ion-color-medium);font-size:.75rem}"]}),o})()}];let N=(()=>{var i;class o{}return(i=o).\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=t.G2t({imports:[r.iI.forChild(F),r.iI]}),o})(),L=(()=>{var i;class o{}return(i=o).\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=t.G2t({imports:[d.bv,g.MD,y.YN,N,h.h]}),o})()},4733:(v,u,c)=>{c.d(u,{O:()=>g});var d=c(56);class g{static isTrackable(r){return(r=r.trackable?r:r.contentData&&r.contentData.trackable?r.contentData:r).trackable&&r.trackable.enabled?r.trackable.enabled===d.Th.YES?1:r.mimeType===d.z5.COLLECTION?0:-1:r.contentType&&r.contentType.toLowerCase()===d.cM.COURSE.toLowerCase()?1:r.mimeType===d.z5.COLLECTION?0:-1}static getMimeType(r){const m=r.split(".").pop();let _="";switch(null==m?void 0:m.toLowerCase()){case"mp4":_=d.z5.VIDEO;break;case"pdf":_=d.z5.PDF;break;case"mp3":case"m4a":_=d.z5.AUDIOS;break;case"wav":_=d.z5.RECOEDED_AUDIO;break;case"youtube":_=d.z5.YOUTUBE;break;case"link":_=d.z5.LINK}return _}static getImagePath(r){return{mp3:"/assets/images/Audio.png",mp4:"/assets/images/Video.png",webm:"/assets/images/Video.png",pdf:"/assets/images/PDF.png",link:"/assets/images/LINK.png"}[r.split("/").pop()]}}}}]);
\ No newline at end of file
diff --git a/www/4567.ba4618208021696b.js b/www/4567.ba4618208021696b.js
deleted file mode 100644
index 8a023c9a..00000000
--- a/www/4567.ba4618208021696b.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4567],{4567:(v,u,c)=>{c.r(u),c.d(u,{MyPitaraPageModule:()=>B});var d=c(8974),g=c(177),y=c(9417),r=c(3021),m=c(467),_=c(5301),P=c(4733),h=c(56),t=c(4438),b=c(3568),M=c(444),C=c(7803),f=c(5402);function O(i,o){1&i&&(t.j41(0,"div",15)(1,"div",16)(2,"div",17),t.EFF(3),t.nI1(4,"translate"),t.k0s()()()),2&i&&(t.R7$(3),t.JRh(t.bMT(4,1,"No contents")))}function w(i,o){if(1&i&&t.nrm(0,"img",23),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Audio.png",t.B4B)}}function D(i,o){if(1&i&&t.nrm(0,"img",23),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/youtube-video.png",t.B4B)}}function k(i,o){if(1&i&&t.nrm(0,"img",23),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/Video.png",t.B4B)}}function x(i,o){if(1&i&&t.nrm(0,"img",23),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/PDF.png",t.B4B)}}function T(i,o){if(1&i&&t.nrm(0,"img",23),2&i){const e=t.XpG(2).$implicit;t.Y8G("src",null!=e&&null!=e.metaData&&e.metaData.thumbnail&&!e.metaData.identifier.startsWith("do_")?null==e||null==e.metaData?null:e.metaData.thumbnail:"assets/images/LINK.png",t.B4B)}}function I(i,o){if(1&i&&(t.j41(0,"ion-card"),t.DNE(1,w,1,1,"img",22)(2,D,1,1,"img",22)(3,k,1,1,"img",22)(4,x,1,1,"img",22)(5,T,1,1,"img",22),t.k0s()),2&i){const e=t.XpG().$implicit,n=t.XpG();t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.AUDIO),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.YOUTUBE),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.MP4),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.PDF),t.R7$(),t.Y8G("ngIf",e.metaData.mimetype===n.mimeType.LINK)}}function R(i,o){if(1&i&&(t.j41(0,"div",24),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&i){const e=t.XpG().$implicit;t.R7$(),t.JRh(t.bMT(2,1,e.metaData.name))}}function E(i,o){if(1&i){const e=t.RV6();t.j41(0,"div",18)(1,"div",19),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.playContent(a))}),t.DNE(2,I,6,5,"ion-card",20)(3,R,3,3,"div",21),t.k0s()()}if(2&i){const e=o.$implicit;t.R7$(2),t.Y8G("ngIf",null==e||null==e.metaData?null:e.metaData.thumbnail),t.R7$(),t.Y8G("ngIf",null==e||null==e.metaData?null:e.metaData.name)}}function G(i,o){1&i&&(t.j41(0,"div",25)(1,"div",26),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&i&&(t.R7$(2),t.JRh(t.bMT(3,1,"Click on New Playlist button to create your first playlist")))}function $(i,o){if(1&i&&(t.j41(0,"div",35),t.EFF(1),t.k0s()),2&i){const e=t.XpG().$implicit;t.R7$(),t.SpI(" ",e.name," ")}}function j(i,o){if(1&i){const e=t.RV6();t.j41(0,"div")(1,"div",27),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.navigateToDetails(a))}),t.j41(2,"div",28)(3,"ion-card"),t.nrm(4,"img",29),t.k0s(),t.nrm(5,"div",30)(6,"div",31),t.k0s(),t.DNE(7,$,2,1,"div",32),t.j41(8,"div",33),t.bIt("click",function(){const a=t.eBV(e).$implicit,s=t.XpG();return t.Njj(s.openModal(a))}),t.nrm(9,"ion-icon",34),t.k0s()()()}if(2&i){const e=o.$implicit;t.R7$(7),t.Y8G("ngIf",null==e?null:e.name)}}const F=[{path:"",component:(()=>{var i;class o{constructor(n,a,s,l,p){this.headerService=n,this.contentService=a,this.router=s,this.playListService=l,this.modalCtrl=p,this.contentList=[],this.playlists=[],this.isNavigate=!0,this.mimeType=h.Cc}ngOnInit(){var n=this;return(0,m.A)(function*(){n.headerService.deviceBackbtnEmitted$.subscribe(a=>{(a.name="backBtn")&&n.tabViewWillEnter()})})()}tabViewWillEnter(){var n=this;return(0,m.A)(function*(){yield n.headerService.showHeader("My Jaadui Pitara"),n.getRecentlyviewedContent(),n.getPlaylistContent()})()}ionViewWillEnter(){this.tabViewWillEnter()}viewAllCards(n){this.router.navigate(["/view-all"],{state:{type:n}})}getPlaylistContent(){var n=this;return(0,m.A)(function*(){n.playlists=[],yield n.playListService.getAllPlayLists("guest").then(a=>{n.playlists=a}).catch(a=>{console.log("error",a)})})()}getRecentlyviewedContent(){var n=this;return(0,m.A)(function*(){yield n.contentService.getRecentlyViewedContent("guest").then(a=>{n.contentList=[];let s={};a.filter(l=>{var p;return!s[l.contentIdentifier]&&(s[l.contentIdentifier]=!0,n.contentList.push(l),l.metaData.thumbnail=l.metaData.mimetype===h.Cc.YOUTUBE?n.loadYoutubeImg(l.metaData):!l.metaData.thumbnail||null!=l&&null!==(p=l.metaData.identifier)&&void 0!==p&&p.startsWith("do_")?P.O.getImagePath(l.metaData.mimeType||l.metaData.mimetype):l.metaData.thumbnail,!0)})}).catch(a=>{console.log("error",a)})})()}ngOnDestroy(){var n=this;return(0,m.A)(function*(){const a=yield n.modalCtrl.getTop();a&&a.dismiss()})()}createList(){this.router.navigate(["/create-playlist"])}deletePlaylist(n){var a=this;return(0,m.A)(function*(){yield a.playListService.deletePlayList(n.identifier).then(s=>{a.getPlaylistContent()}).catch(s=>{console.log("err",s)})})()}openModal(n){var a=this;return(0,m.A)(function*(){a.isNavigate=!1;const s=yield a.modalCtrl.create({component:_.J,cssClass:"add-to-pitara",breakpoints:[0,1],showBackdrop:!1,initialBreakpoint:1,handle:!1,handleBehavior:"none"});yield s.present(),s.onWillDismiss().then(l=>{a.isNavigate=!0,l.data&&"delete"===l.data.type?a.deletePlaylist(n):l.data&&"edit"===l.data.type&&a.router.navigate(["/create-playlist"],{state:{playlists:n,islocal:!0,status:"edit"}})})})()}loadYoutubeImg(n){let a=n.identifier;const l=null==n?void 0:n.url.match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/(?:[^\/\n\s]+\/\S+\/|(?:v|e(?:mbed)?)\/|\S*?[?&]v=)|youtu\.be\/)([a-zA-Z0-9_-]{11})/);return a=l?l[1]:null,`https://img.youtube.com/vi/${a}/mqdefault.jpg`}navigateToDetails(n){this.isNavigate&&this.router.navigate(["/playlist-details"],{state:{playlist:n}})}playContent(n){var a=this;return(0,m.A)(function*(){yield a.router.navigate(["/player"],{state:{content:n}})})()}}return(i=o).\u0275fac=function(n){return new(n||i)(t.rXU(b.U),t.rXU(M.f),t.rXU(r.Ix),t.rXU(C.q),t.rXU(d.W3))},i.\u0275cmp=t.VBU({type:i,selectors:[["app-mypitara"]],decls:26,vars:17,consts:[[3,"fullscreen"],[1,"grid-slider"],[1,"grid-slider__header"],[1,""],[1,"grid-slider__header__link",3,"click"],["class","viewed-content",4,"ngIf"],[1,"grid-slider__container"],["class","grid-slider__container__card",4,"ngFor","ngForOf"],[1,"playlist"],[1,"playlist__header"],[1,"playlist__header__button",3,"click"],["name","add-circle-outline","slot","end","aria-hidden","true",1,"secIcon"],["class","playlist-bot",4,"ngIf"],[1,"playlist__container"],[4,"ngFor","ngForOf"],[1,"viewed-content"],[1,"viewed-content__info"],[1,"viewed-content__info__text"],[1,"grid-slider__container__card"],[3,"click"],[4,"ngIf"],["class","card-title",4,"ngIf"],["alt","",3,"src",4,"ngIf"],["alt","",3,"src"],[1,"card-title"],[1,"playlist-bot"],[1,"playlist-bot__text"],[1,"playlist__container__items",3,"click"],[1,"playlist__container__items__cards"],["src","/assets/images/Playlist.png","alt",""],[1,"layer1"],[1,"layer2"],["class","playlist__container__items__metadata",4,"ngIf"],[1,"kabab-menu-icon",3,"click"],["slot","end","aria-hidden","true","src","../../../assets/icon/kabab-icon.svg"],[1,"playlist__container__items__metadata"]],template:function(n,a){1&n&&(t.j41(0,"ion-content",0)(1,"div",1)(2,"div",2)(3,"div",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"div",4),t.bIt("click",function(){return a.viewAllCards("recentlyviewed")}),t.EFF(7),t.nI1(8,"translate"),t.k0s()(),t.DNE(9,O,5,3,"div",5),t.j41(10,"div",6),t.DNE(11,E,4,2,"div",7),t.k0s()(),t.j41(12,"div",8)(13,"div",9)(14,"div",3),t.EFF(15),t.nI1(16,"translate"),t.k0s(),t.j41(17,"div",10),t.bIt("click",function(){return a.viewAllCards("playlist")}),t.j41(18,"ion-button"),t.EFF(19),t.nI1(20,"translate"),t.nrm(21,"ion-icon",11),t.k0s()()(),t.j41(22,"div"),t.DNE(23,G,4,3,"div",12),t.k0s(),t.j41(24,"div",13),t.DNE(25,j,10,1,"div",14),t.k0s()()()),2&n&&(t.Y8G("fullscreen",!0),t.R7$(4),t.JRh(t.bMT(5,9,"Recently Viewed")),t.R7$(3),t.JRh(t.bMT(8,11,"View All")),t.R7$(2),t.Y8G("ngIf",!a.contentList.length),t.R7$(2),t.Y8G("ngForOf",a.contentList),t.R7$(4),t.JRh(t.bMT(16,13,"My Playlist")),t.R7$(4),t.SpI("",t.bMT(20,15,"New Playlist")," "),t.R7$(4),t.Y8G("ngIf",!a.playlists.length),t.R7$(2),t.Y8G("ngForOf",a.playlists))},dependencies:[d.Jm,d.b_,d.W9,d.iq,g.Sq,g.bT,f.D9],styles:["ion-content[_ngcontent-%COMP%]{--padding-top: 35px !important}.grid-slider[_ngcontent-%COMP%]{padding:1rem;margin-top:7px}.grid-slider__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;font-size:.75rem;color:var(--ion-color-dark);font-weight:700}.grid-slider__header__link[_ngcontent-%COMP%]{color:var(--ion-color-primary)}.grid-slider__container[_ngcontent-%COMP%]{display:grid;gap:.75rem;overflow-y:auto;overflow-x:auto;grid-auto-flow:column;justify-content:flex-start;padding:1rem 0 3rem}.grid-slider__container__card[_ngcontent-%COMP%]{width:7.5rem;height:4.5rem}.grid-slider__container__card[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%]{margin:0;box-shadow:none;border-radius:.5rem;height:100%}.grid-slider__container__card[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:4.5rem;width:100%}.grid-slider__container__card[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{font-size:.75rem;font-style:normal;font-weight:400;color:#2f2c2a;padding-top:.5rem;line-height:.875rem;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.playlist[_ngcontent-%COMP%]{padding:0 1rem;padding-top:0}.playlist__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:var(--ion-color-dark);font-weight:700}.playlist__header__button[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{padding-left:.5rem}.playlist__container[_ngcontent-%COMP%]{padding-top:1rem}.playlist__container__items[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:flex-start;align-items:flex-start;gap:.5rem;margin-bottom:1.5rem}.playlist__container__items__cards[_ngcontent-%COMP%]{width:7.5rem;height:4.5rem;min-width:7.5rem;position:relative}.playlist__container__items[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%]{margin:0;box-shadow:none;border-radius:.5rem;height:100%}.playlist__container__items[_ngcontent-%COMP%] ion-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:100%}.playlist__container__items[_ngcontent-%COMP%] .layer1[_ngcontent-%COMP%]{height:4.5rem;background-color:#7d7d7d;margin-top:-1px;position:absolute;top:-.188rem;width:calc(100% - 12px);left:.375rem;right:.375rem;border-radius:.5rem;z-index:-1}.playlist__container__items[_ngcontent-%COMP%] .layer2[_ngcontent-%COMP%]{position:absolute;top:-8px;width:calc(100% - 20px);height:100%;left:.625rem;right:.625rem;border-radius:.5rem;background:#c3c3c3;z-index:-2;opacity:.7}.playlist__container__items__metadata[_ngcontent-%COMP%]{font-size:.75rem;word-break:break-word;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-right:1.5rem}.playlist__container__items[_ngcontent-%COMP%] .kabab-menu-icon[_ngcontent-%COMP%]{position:absolute;right:1rem}.playlist__container__items[_ngcontent-%COMP%] .kabab-menu-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}[_nghost-%COMP%] ion-button[_ngcontent-%COMP%]{--background: var(--ion-color-primary-contrast);--color: var(--ion-color-secondary);--border-radius: 30px;--border-color: var(--ion-color-secondary);--border-style: solid;--border-width: 1px;--box-shadow: none}ion-modal[_ngcontent-%COMP%]{--height: fit-content}.btn-len[_ngcontent-%COMP%]{width:88%}.playlist-bot[_ngcontent-%COMP%]{text-align:center;position:absolute;left:50%;right:0;top:55%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:12px}.playlist-bot__image[_ngcontent-%COMP%]{height:7rem;width:7rem;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.playlist-bot__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%}.playlist-bot__text[_ngcontent-%COMP%]{text-align:center;color:var(--ion-color-medium);font-size:.75rem}.viewed-content[_ngcontent-%COMP%]{padding:1.5rem}.viewed-content__info[_ngcontent-%COMP%]{position:absolute;left:50%;right:0;top:20%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center}.viewed-content__info__image[_ngcontent-%COMP%]{height:5rem;width:5rem;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.viewed-content__info__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;width:100%}.viewed-content__info__text[_ngcontent-%COMP%]{text-align:center;color:var(--ion-color-medium);font-size:.75rem}"]}),o})()}];let Y=(()=>{var i;class o{}return(i=o).\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=t.G2t({imports:[r.iI.forChild(F),r.iI]}),o})(),B=(()=>{var i;class o{}return(i=o).\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.$C({type:i}),i.\u0275inj=t.G2t({imports:[d.bv,g.MD,y.YN,Y,f.h]}),o})()},4733:(v,u,c)=>{c.d(u,{O:()=>g});var d=c(56);class g{static isTrackable(r){return(r=r.trackable?r:r.contentData&&r.contentData.trackable?r.contentData:r).trackable&&r.trackable.enabled?r.trackable.enabled===d.Th.YES?1:r.mimeType===d.z5.COLLECTION?0:-1:r.contentType&&r.contentType.toLowerCase()===d.cM.COURSE.toLowerCase()?1:r.mimeType===d.z5.COLLECTION?0:-1}static getMimeType(r){const m=r.split(".").pop();let _="";switch(null==m?void 0:m.toLowerCase()){case"mp4":_=d.z5.VIDEO;break;case"pdf":_=d.z5.PDF;break;case"mp3":case"m4a":_=d.z5.AUDIOS;break;case"wav":_=d.z5.RECOEDED_AUDIO;break;case"youtube":_=d.z5.YOUTUBE}return _}static getImagePath(r){return{mp3:"/assets/images/Audio.png",mp4:"/assets/images/Video.png",webm:"/assets/images/Video.png",pdf:"/assets/images/PDF.png"}[r.split("/").pop()]}}}}]);
\ No newline at end of file
diff --git a/www/6674.b40df406d0c6197f.js b/www/6674.b40df406d0c6197f.js
deleted file mode 100644
index 8cfc8996..00000000
--- a/www/6674.b40df406d0c6197f.js
+++ /dev/null
@@ -1 +0,0 @@
-(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6674],{4715:(P,H,o)=>{"use strict";o.d(H,{N:()=>C});var f=o(5083),x=o(467);class h extends f.E_{constructor(){super(...arguments),this.ERROR_PICK_FILE_CANCELED="pickFiles canceled."}convertHeicToJpeg(a){var d=this;return(0,x.A)(function*(){throw d.unimplemented("Not implemented on web.")})()}pickFiles(a){var d=this;return(0,x.A)(function*(){const n=yield d.openFilePicker(a);if(!n)throw new Error(d.ERROR_PICK_FILE_CANCELED);const e={files:[]};for(const c of n){const t={blob:c,modifiedAt:c.lastModified,mimeType:d.getMimeTypeFromUrl(c),name:d.getNameFromUrl(c),path:void 0,size:d.getSizeFromUrl(c)};null!=a&&a.readData&&(t.data=yield d.getDataFromFile(c)),e.files.push(t)}return e})()}pickImages(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["image/*"]},a))})()}pickMedia(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["image/*","video/*"]},a))})()}pickVideos(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["video/*"]},a))})()}openFilePicker(a){var d=this;return(0,x.A)(function*(){var n;const e=(null===(n=null==a?void 0:a.types)||void 0===n?void 0:n.join(","))||"",c=!(null==a||!a.multiple);return new Promise(t=>{let i=!1;const r=document.createElement("input");r.type="file",r.accept=e,r.multiple=c,r.addEventListener("change",()=>{i=!0;const v=Array.from(r.files||[]);t(v)},{once:!0}),window.addEventListener("focus",(0,x.A)(function*(){yield d.wait(1e3),!i&&t(void 0)}),{once:!0}),r.click()})})()}getDataFromFile(a){return(0,x.A)(function*(){return new Promise((d,n)=>{const e=new FileReader;e.readAsDataURL(a),e.onload=()=>{const i=("string"==typeof e.result?e.result:"").split("base64,")[1]||"";d(i)},e.onerror=c=>{n(c)}})})()}getNameFromUrl(a){return a.name}getMimeTypeFromUrl(a){return a.type}getSizeFromUrl(a){return a.size}wait(a){return(0,x.A)(function*(){return new Promise(d=>setTimeout(d,a))})()}}const C=(0,f.F3)("FilePicker",{web:()=>new h})},1129:(P,H,o)=>{"use strict";o.d(H,{W:()=>n});var f=o(467),x=o(4438),h=o(8974),C=o(4517),b=o(177),a=o(5402);function d(e,c){if(1&e){const t=x.RV6();x.j41(0,"ion-item",2),x.bIt("click",function(){const r=x.eBV(t).$implicit,v=x.XpG();return x.Njj(v.upload(r.type))}),x.j41(1,"ion-label"),x.EFF(2),x.nI1(3,"translate"),x.k0s()()}if(2&e){const t=c.$implicit;x.R7$(2),x.JRh(x.bMT(3,1,t.label))}}let n=(()=>{var e;class c{constructor(i,r){this.modalCtrl=i,this.navParams=r,this.youtubeurl="",this.uploadType=[]}ngOnInit(){this.uploadType=this.navParams.get("uploadType")}upload(i){var r=this;return(0,f.A)(function*(){console.log("type ",i),r.modalCtrl.dismiss({type:i})})()}}return(e=c).\u0275fac=function(i){return new(i||e)(x.rXU(h.W3),x.rXU(C.y8))},e.\u0275cmp=x.VBU({type:e,selectors:[["app-upload-local"]],decls:3,vars:1,consts:[[1,"inner-content"],[3,"click",4,"ngFor","ngForOf"],[3,"click"]],template:function(i,r){1&i&&(x.j41(0,"div",0)(1,"ion-list"),x.DNE(2,d,4,3,"ion-item",1),x.k0s()()),2&i&&(x.R7$(2),x.Y8G("ngForOf",r.uploadType))},dependencies:[b.Sq,h.uz,h.he,h.nf,a.D9]}),c})()},4733:(P,H,o)=>{"use strict";o.d(H,{O:()=>x});var f=o(56);class x{static isTrackable(C){return(C=C.trackable?C:C.contentData&&C.contentData.trackable?C.contentData:C).trackable&&C.trackable.enabled?C.trackable.enabled===f.Th.YES?1:C.mimeType===f.z5.COLLECTION?0:-1:C.contentType&&C.contentType.toLowerCase()===f.cM.COURSE.toLowerCase()?1:C.mimeType===f.z5.COLLECTION?0:-1}static getMimeType(C){const b=C.split(".").pop();let a="";switch(null==b?void 0:b.toLowerCase()){case"mp4":a=f.z5.VIDEO;break;case"pdf":a=f.z5.PDF;break;case"mp3":case"m4a":a=f.z5.AUDIOS;break;case"wav":a=f.z5.RECOEDED_AUDIO;break;case"youtube":a=f.z5.YOUTUBE}return a}static getImagePath(C){return{mp3:"/assets/images/Audio.png",mp4:"/assets/images/Video.png",webm:"/assets/images/Video.png",pdf:"/assets/images/PDF.png"}[C.split("/").pop()]}}},3188:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.BlockCipher,b=x.algo,a=[],d=[],n=[],e=[],c=[],t=[],i=[],r=[],v=[],s=[];!function(){for(var B=[],l=0;l<256;l++)B[l]=l<128?l<<1:l<<1^283;var g=0,F=0;for(l=0;l<256;l++){var D=F^F<<1^F<<2^F<<3^F<<4;a[g]=D=D>>>8^255&D^99,d[D]=g;var S,u=B[g],z=B[u],k=B[z];n[g]=(S=257*B[D]^16843008*D)<<24|S>>>8,e[g]=S<<16|S>>>16,c[g]=S<<8|S>>>24,t[g]=S,i[D]=(S=16843009*k^65537*z^257*u^16843008*g)<<24|S>>>8,r[D]=S<<16|S>>>16,v[D]=S<<8|S>>>24,s[D]=S,g?(g=u^B[B[B[k^u]]],F^=B[B[F]]):g=F=1}}();var E=[0,1,2,4,8,16,32,64,128,27,54],A=b.AES=C.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var l=this._keyPriorReset=this._key,g=l.words,F=l.sigBytes/4,u=4*((this._nRounds=F+6)+1),z=this._keySchedule=[],k=0;k6&&k%F==4&&(B=a[B>>>24]<<24|a[B>>>16&255]<<16|a[B>>>8&255]<<8|a[255&B]):(B=a[(B=B<<8|B>>>24)>>>24]<<24|a[B>>>16&255]<<16|a[B>>>8&255]<<8|a[255&B],B^=E[k/F|0]<<24),z[k]=z[k-F]^B);for(var S=this._invKeySchedule=[],W=0;W>>24]]^r[a[B>>>16&255]]^v[a[B>>>8&255]]^s[a[255&B]]}}},encryptBlock:function(B,l){this._doCryptBlock(B,l,this._keySchedule,n,e,c,t,a)},decryptBlock:function(B,l){var g=B[l+1];B[l+1]=B[l+3],B[l+3]=g,this._doCryptBlock(B,l,this._invKeySchedule,i,r,v,s,d),g=B[l+1],B[l+1]=B[l+3],B[l+3]=g},_doCryptBlock:function(B,l,g,F,D,u,z,k){for(var S=this._nRounds,W=B[l]^g[0],p=B[l+1]^g[1],m=B[l+2]^g[2],R=B[l+3]^g[3],y=4,T=1;T>>24]^D[p>>>16&255]^u[m>>>8&255]^z[255&R]^g[y++],U=F[p>>>24]^D[m>>>16&255]^u[R>>>8&255]^z[255&W]^g[y++],I=F[m>>>24]^D[R>>>16&255]^u[W>>>8&255]^z[255&p]^g[y++],N=F[R>>>24]^D[W>>>16&255]^u[p>>>8&255]^z[255&m]^g[y++];W=L,p=U,m=I,R=N}L=(k[W>>>24]<<24|k[p>>>16&255]<<16|k[m>>>8&255]<<8|k[255&R])^g[y++],U=(k[p>>>24]<<24|k[m>>>16&255]<<16|k[R>>>8&255]<<8|k[255&W])^g[y++],I=(k[m>>>24]<<24|k[R>>>16&255]<<16|k[W>>>8&255]<<8|k[255&p])^g[y++],N=(k[R>>>24]<<24|k[W>>>16&255]<<16|k[p>>>8&255]<<8|k[255&m])^g[y++],B[l]=L,B[l+1]=U,B[l+2]=I,B[l+3]=N},keySize:8});x.AES=C._createHelper(A)}(),f.AES)},5269:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.BlockCipher;const a=16,d=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],n=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var e={pbox:[],sbox:[]};function c(s,E){let F=s.sbox[0][E>>24&255]+s.sbox[1][E>>16&255];return F^=s.sbox[2][E>>8&255],F+=s.sbox[3][255&E],F}function t(s,E,A){let g,B=E,l=A;for(let F=0;F=A&&(B=0);let l=0,g=0,F=0;for(let D=0;D1;--F)B^=s.pbox[F],l=c(s,B)^l,g=B,B=l,l=g;return g=B,B=l,l=g,l^=s.pbox[1],B^=s.pbox[0],{left:B,right:l}}(e,s[E],s[E+1]);s[E]=A.left,s[E+1]=A.right},blockSize:2,keySize:4,ivSize:2});x.Blowfish=C._createHelper(v)}(),f.Blowfish)},2414:function(P,H,o){var h,C,b,a,d,n,c,i,r,s,E,A,l,F,u,z,S,W,f;P.exports=(f=o(7656),o(4147),void(f.lib.Cipher||(h=f,C=h.lib,b=C.Base,a=C.WordArray,d=C.BufferedBlockAlgorithm,n=h.enc,c=n.Base64,i=h.algo.EvpKDF,r=C.Cipher=d.extend({cfg:b.extend(),createEncryptor:function(p,m){return this.create(this._ENC_XFORM_MODE,p,m)},createDecryptor:function(p,m){return this.create(this._DEC_XFORM_MODE,p,m)},init:function(p,m,R){this.cfg=this.cfg.extend(R),this._xformMode=p,this._key=m,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(p){return this._append(p),this._process()},finalize:function(p){return p&&this._append(p),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function p(m){return"string"==typeof m?W:z}return function(m){return{encrypt:function(R,y,T){return p(y).encrypt(m,R,y,T)},decrypt:function(R,y,T){return p(y).decrypt(m,R,y,T)}}}}()}),C.StreamCipher=r.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),s=h.mode={},E=C.BlockCipherMode=b.extend({createEncryptor:function(p,m){return this.Encryptor.create(p,m)},createDecryptor:function(p,m){return this.Decryptor.create(p,m)},init:function(p,m){this._cipher=p,this._iv=m}}),A=s.CBC=function(){var p=E.extend();function m(R,y,T){var L,U=this._iv;U?(L=U,this._iv=undefined):L=this._prevBlock;for(var I=0;I>>2]}},C.BlockCipher=r.extend({cfg:r.cfg.extend({mode:A,padding:l}),reset:function(){var p;r.reset.call(this);var m=this.cfg,R=m.iv,y=m.mode;this._xformMode==this._ENC_XFORM_MODE?p=y.createEncryptor:(p=y.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==p?this._mode.init(this,R&&R.words):(this._mode=p.call(y,this,R&&R.words),this._mode.__creator=p)},_doProcessBlock:function(p,m){this._mode.processBlock(p,m)},_doFinalize:function(){var p,m=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(m.pad(this._data,this.blockSize),p=this._process(!0)):(p=this._process(!0),m.unpad(p)),p},blockSize:4}),F=C.CipherParams=b.extend({init:function(p){this.mixIn(p)},toString:function(p){return(p||this.formatter).stringify(this)}}),u=(h.format={}).OpenSSL={stringify:function(p){var R=p.ciphertext,y=p.salt;return(y?a.create([1398893684,1701076831]).concat(y).concat(R):R).toString(c)},parse:function(p){var m,R=c.parse(p),y=R.words;return 1398893684==y[0]&&1701076831==y[1]&&(m=a.create(y.slice(2,4)),y.splice(0,4),R.sigBytes-=16),F.create({ciphertext:R,salt:m})}},z=C.SerializableCipher=b.extend({cfg:b.extend({format:u}),encrypt:function(p,m,R,y){y=this.cfg.extend(y);var T=p.createEncryptor(R,y),L=T.finalize(m),U=T.cfg;return F.create({ciphertext:L,key:R,iv:U.iv,algorithm:p,mode:U.mode,padding:U.padding,blockSize:p.blockSize,formatter:y.format})},decrypt:function(p,m,R,y){return y=this.cfg.extend(y),m=this._parse(m,y.format),p.createDecryptor(R,y).finalize(m.ciphertext)},_parse:function(p,m){return"string"==typeof p?m.parse(p,this):p}}),S=(h.kdf={}).OpenSSL={execute:function(p,m,R,y,T){if(y||(y=a.random(8)),T)var L=i.create({keySize:m+R,hasher:T}).compute(p,y);else L=i.create({keySize:m+R}).compute(p,y);var U=a.create(L.words.slice(m),4*R);return L.sigBytes=4*m,F.create({key:L,iv:U,salt:y})}},W=C.PasswordBasedCipher=z.extend({cfg:z.cfg.extend({kdf:S}),encrypt:function(p,m,R,y){var T=(y=this.cfg.extend(y)).kdf.execute(R,p.keySize,p.ivSize,y.salt,y.hasher);y.iv=T.iv;var L=z.encrypt.call(this,p,m,T.key,y);return L.mixIn(T),L},decrypt:function(p,m,R,y){y=this.cfg.extend(y),m=this._parse(m,y.format);var T=y.kdf.execute(R,p.keySize,p.ivSize,m.salt,y.hasher);return y.iv=T.iv,z.decrypt.call(this,p,m,T.key,y)}}))))},8891:function(P,H,o){var f,C;P.exports=(f=o(7656),C=f.lib.WordArray,f.enc.Base64={stringify:function(n){var e=n.words,c=n.sigBytes,t=this._map;n.clamp();for(var i=[],r=0;r>>2]>>>24-r%4*8&255)<<16|(e[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|e[r+2>>>2]>>>24-(r+2)%4*8&255,B=0;B<4&&r+.75*B>>6*(3-B)&63));var l=t.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(n){var e=n.length,c=this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var i=0;i>>6-r%4*2;t[i>>>2]|=(v|s)<<24-i%4*8,i++}return C.create(t,i)}(n,e,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},f.enc.Base64)},4217:function(P,H,o){var f,C;P.exports=(f=o(7656),C=f.lib.WordArray,f.enc.Base64url={stringify:function(n,e){void 0===e&&(e=!0);var c=n.words,t=n.sigBytes,i=e?this._safe_map:this._map;n.clamp();for(var r=[],v=0;v>>2]>>>24-v%4*8&255)<<16|(c[v+1>>>2]>>>24-(v+1)%4*8&255)<<8|c[v+2>>>2]>>>24-(v+2)%4*8&255,l=0;l<4&&v+.75*l>>6*(3-l)&63));var g=i.charAt(64);if(g)for(;r.length%4;)r.push(g);return r.join("")},parse:function(n,e){void 0===e&&(e=!0);var c=n.length,t=e?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var r=0;r>>6-r%4*2;t[i>>>2]|=(v|s)<<24-i%4*8,i++}return C.create(t,i)}(n,c,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},f.enc.Base64url)},5304:function(P,H,o){var f;P.exports=(f=o(7656),function(){var C=f.lib.WordArray,b=f.enc;function d(n){return n<<8&4278255360|n>>>8&16711935}b.Utf16=b.Utf16BE={stringify:function(n){for(var e=n.words,c=n.sigBytes,t=[],i=0;i>>2]>>>16-i%4*8&65535));return t.join("")},parse:function(n){for(var e=n.length,c=[],t=0;t>>1]|=n.charCodeAt(t)<<16-t%2*16;return C.create(c,2*e)}},b.Utf16LE={stringify:function(n){for(var e=n.words,c=n.sigBytes,t=[],i=0;i>>2]>>>16-i%4*8&65535);t.push(String.fromCharCode(r))}return t.join("")},parse:function(n){for(var e=n.length,c=[],t=0;t>>1]|=d(n.charCodeAt(t)<<16-t%2*16);return C.create(c,2*e)}}}(),f.enc.Utf16)},4147:function(P,H,o){var x,h,C,b,a,n,f;P.exports=(f=o(7656),o(9986),o(7868),b=(h=(x=f).lib).WordArray,n=(a=x.algo).EvpKDF=(C=h.Base).extend({cfg:C.extend({keySize:4,hasher:a.MD5,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,c){for(var t,i=this.cfg,r=i.hasher.create(),v=b.create(),s=v.words,E=i.keySize,A=i.iterations;s.lengthi&&(c=e.finalize(c)),c.clamp();for(var r=this._oKey=c.clone(),v=this._iKey=c.clone(),s=r.words,E=v.words,A=0;A>>2]|=d[c]<<24-c%4*8;b.call(this,e,n)}else b.apply(this,arguments)};a.prototype=C}}(),f.lib.WordArray)},4152:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.mode.CFB=function(){var x=f.lib.BlockCipherMode.extend();function h(C,b,a,d){var n,e=this._iv;e?(n=e.slice(0),this._iv=void 0):n=this._prevBlock,d.encryptBlock(n,0);for(var c=0;c>24))a+=1<<24;else{var d=a>>16&255,n=a>>8&255,e=255&a;255===d?(d=0,255===n?(n=0,255===e?e=0:++e):++n):++d,a=0,a+=d<<16,a+=n<<8,a+=e}return a}var b=x.Encryptor=x.extend({processBlock:function(a,d){var n=this._cipher,e=n.blockSize,c=this._iv,t=this._counter;c&&(t=this._counter=c.slice(0),this._iv=void 0),function C(a){return 0===(a[0]=h(a[0]))&&(a[1]=h(a[1])),a}(t);var i=t.slice(0);n.encryptBlock(i,0);for(var r=0;r>>2]|=a<<24-d%4*8,x.sigBytes+=a},unpad:function(x){x.sigBytes-=255&x.words[x.sigBytes-1>>>2]}},f.pad.Ansix923)},7516:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.Iso10126={pad:function(x,h){var C=4*h,b=C-x.sigBytes%C;x.concat(f.lib.WordArray.random(b-1)).concat(f.lib.WordArray.create([b<<24],1))},unpad:function(x){x.sigBytes-=255&x.words[x.sigBytes-1>>>2]}},f.pad.Iso10126)},9047:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.Iso97971={pad:function(x,h){x.concat(f.lib.WordArray.create([2147483648],1)),f.pad.ZeroPadding.pad(x,h)},unpad:function(x){f.pad.ZeroPadding.unpad(x),x.sigBytes--}},f.pad.Iso97971)},2599:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.NoPadding={pad:function(){},unpad:function(){}},f.pad.NoPadding)},6964:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.ZeroPadding={pad:function(x,h){var C=4*h;x.clamp(),x.sigBytes+=C-(x.sigBytes%C||C)},unpad:function(x){var h=x.words,C=x.sigBytes-1;for(C=x.sigBytes-1;C>=0;C--)if(h[C>>>2]>>>24-C%4*8&255){x.sigBytes=C+1;break}}},f.pad.ZeroPadding)},7738:function(P,H,o){var x,h,C,b,a,n,e,f;P.exports=(f=o(7656),o(5168),o(7868),b=(h=(x=f).lib).WordArray,n=(a=x.algo).HMAC,e=a.PBKDF2=(C=h.Base).extend({cfg:C.extend({keySize:4,hasher:a.SHA256,iterations:25e4}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,t){for(var i=this.cfg,r=n.create(i.hasher,c),v=b.create(),s=b.create([1]),E=v.words,A=s.words,B=i.keySize,l=i.iterations;E.length>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],v=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var s=0;s<4;s++)c.call(this);for(s=0;s<8;s++)v[s]^=r[s+4&7];if(i){var E=i.words,A=E[0],B=E[1],l=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8),g=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),F=l>>>16|4294901760&g,D=g<<16|65535&l;for(v[0]^=l,v[1]^=F,v[2]^=g,v[3]^=D,v[4]^=l,v[5]^=F,v[6]^=g,v[7]^=D,s=0;s<4;s++)c.call(this)}},_doProcessBlock:function(t,i){var r=this._X;c.call(this),a[0]=r[0]^r[5]>>>16^r[3]<<16,a[1]=r[2]^r[7]>>>16^r[5]<<16,a[2]=r[4]^r[1]>>>16^r[7]<<16,a[3]=r[6]^r[3]>>>16^r[1]<<16;for(var v=0;v<4;v++)a[v]=16711935&(a[v]<<8|a[v]>>>24)|4278255360&(a[v]<<24|a[v]>>>8),t[i+v]^=a[v]},blockSize:4,ivSize:2});function c(){for(var t=this._X,i=this._C,r=0;r<8;r++)d[r]=i[r];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0>>0?1:0)|0,this._b=i[7]>>>0>>0?1:0,r=0;r<8;r++){var v=t[r]+i[r],s=65535&v,E=v>>>16;n[r]=((s*s>>>17)+s*E>>>15)+E*E^((4294901760&v)*v|0)+((65535&v)*v|0)}t[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,t[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,t[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,t[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,t[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,t[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,t[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,t[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}x.RabbitLegacy=C._createHelper(e)}(),f.RabbitLegacy)},2795:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.StreamCipher,a=[],d=[],n=[],e=x.algo.Rabbit=C.extend({_doReset:function(){for(var t=this._key.words,i=this.cfg.iv,r=0;r<4;r++)t[r]=16711935&(t[r]<<8|t[r]>>>24)|4278255360&(t[r]<<24|t[r]>>>8);var v=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],s=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)s[r]^=v[r+4&7];if(i){var E=i.words,A=E[0],B=E[1],l=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8),g=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),F=l>>>16|4294901760&g,D=g<<16|65535&l;for(s[0]^=l,s[1]^=F,s[2]^=g,s[3]^=D,s[4]^=l,s[5]^=F,s[6]^=g,s[7]^=D,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(t,i){var r=this._X;c.call(this),a[0]=r[0]^r[5]>>>16^r[3]<<16,a[1]=r[2]^r[7]>>>16^r[5]<<16,a[2]=r[4]^r[1]>>>16^r[7]<<16,a[3]=r[6]^r[3]>>>16^r[1]<<16;for(var v=0;v<4;v++)a[v]=16711935&(a[v]<<8|a[v]>>>24)|4278255360&(a[v]<<24|a[v]>>>8),t[i+v]^=a[v]},blockSize:4,ivSize:2});function c(){for(var t=this._X,i=this._C,r=0;r<8;r++)d[r]=i[r];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0>>0?1:0)|0,this._b=i[7]>>>0>>0?1:0,r=0;r<8;r++){var v=t[r]+i[r],s=65535&v,E=v>>>16;n[r]=((s*s>>>17)+s*E>>>15)+E*E^((4294901760&v)*v|0)+((65535&v)*v|0)}t[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,t[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,t[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,t[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,t[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,t[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,t[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,t[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}x.Rabbit=C._createHelper(e)}(),f.Rabbit)},5350:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.StreamCipher,b=x.algo,a=b.RC4=C.extend({_doReset:function(){for(var e=this._key,c=e.words,t=e.sigBytes,i=this._S=[],r=0;r<256;r++)i[r]=r;r=0;for(var v=0;r<256;r++){var s=r%t,A=i[r];i[r]=i[v=(v+i[r]+(c[s>>>2]>>>24-s%4*8&255))%256],i[v]=A}this._i=this._j=0},_doProcessBlock:function(e,c){e[c]^=d.call(this)},keySize:8,ivSize:0});function d(){for(var e=this._S,c=this._i,t=this._j,i=0,r=0;r<4;r++){var v=e[c=(c+1)%256];e[c]=e[t=(t+e[c])%256],e[t]=v,i|=e[(e[c]+e[t])%256]<<24-8*r}return this._i=c,this._j=t,i}x.RC4=C._createHelper(a);var n=b.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)d.call(this)}});x.RC4Drop=C._createHelper(n)}(),f.RC4)},447:function(P,H,o){var f;P.exports=(f=o(7656),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,d=h.algo,n=b.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),e=b.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=b.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),t=b.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),i=b.create([0,1518500249,1859775393,2400959708,2840853838]),r=b.create([1352829926,1548603684,1836072691,2053994217,0]),v=d.RIPEMD160=a.extend({_doReset:function(){this._hash=b.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(F,D){for(var u=0;u<16;u++){var z=D+u,k=F[z];F[z]=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8)}var L,U,I,N,_,j,X,w,K,G,O,S=this._hash.words,W=i.words,p=r.words,m=n.words,R=e.words,y=c.words,T=t.words;for(j=L=S[0],X=U=S[1],w=I=S[2],K=N=S[3],G=_=S[4],u=0;u<80;u+=1)O=L+F[D+m[u]]|0,O+=u<16?s(U,I,N)+W[0]:u<32?E(U,I,N)+W[1]:u<48?A(U,I,N)+W[2]:u<64?B(U,I,N)+W[3]:l(U,I,N)+W[4],O=(O=g(O|=0,y[u]))+_|0,L=_,_=N,N=g(I,10),I=U,U=O,O=j+F[D+R[u]]|0,O+=u<16?l(X,w,K)+p[0]:u<32?B(X,w,K)+p[1]:u<48?A(X,w,K)+p[2]:u<64?E(X,w,K)+p[3]:s(X,w,K)+p[4],O=(O=g(O|=0,T[u]))+G|0,j=G,G=K,K=g(w,10),w=X,X=O;O=S[1]+I+K|0,S[1]=S[2]+N+G|0,S[2]=S[3]+_+j|0,S[3]=S[4]+L+X|0,S[4]=S[0]+U+w|0,S[0]=O},_doFinalize:function(){var F=this._data,D=F.words,u=8*this._nDataBytes,z=8*F.sigBytes;D[z>>>5]|=128<<24-z%32,D[14+(z+64>>>9<<4)]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),F.sigBytes=4*(D.length+1),this._process();for(var k=this._hash,S=k.words,W=0;W<5;W++){var p=S[W];S[W]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}return k},clone:function(){var F=a.clone.call(this);return F._hash=this._hash.clone(),F}});function s(F,D,u){return F^D^u}function E(F,D,u){return F&D|~F&u}function A(F,D,u){return(F|~D)^u}function B(F,D,u){return F&u|D&~u}function l(F,D,u){return F^(D|~u)}function g(F,D){return F<>>32-D}h.RIPEMD160=a._createHelper(v),h.HmacRIPEMD160=a._createHmacHelper(v)}(Math),f.RIPEMD160)},9225:function(P,H,o){var x,C,b,a,d,f;P.exports=(f=o(7656),o(5168),C=(x=f).lib.WordArray,d=(b=x.algo).SHA224=(a=b.SHA256).extend({_doReset:function(){this._hash=new C.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var n=a._doFinalize.call(this);return n.sigBytes-=4,n}}),x.SHA224=a._createHelper(d),x.HmacSHA224=a._createHmacHelper(d),f.SHA224)},5168:function(P,H,o){var f;P.exports=(f=o(7656),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,d=h.algo,n=[],e=[];!function(){function i(E){for(var A=x.sqrt(E),B=2;B<=A;B++)if(!(E%B))return!1;return!0}function r(E){return 4294967296*(E-(0|E))|0}for(var v=2,s=0;s<64;)i(v)&&(s<8&&(n[s]=r(x.pow(v,.5))),e[s]=r(x.pow(v,1/3)),s++),v++}();var c=[],t=d.SHA256=a.extend({_doReset:function(){this._hash=new b.init(n.slice(0))},_doProcessBlock:function(i,r){for(var v=this._hash.words,s=v[0],E=v[1],A=v[2],B=v[3],l=v[4],g=v[5],F=v[6],D=v[7],u=0;u<64;u++){if(u<16)c[u]=0|i[r+u];else{var z=c[u-15],S=c[u-2];c[u]=((z<<25|z>>>7)^(z<<14|z>>>18)^z>>>3)+c[u-7]+((S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10)+c[u-16]}var m=s&E^s&A^E&A,T=D+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&g^~l&F)+e[u]+c[u];D=F,F=g,g=l,l=B+T|0,B=A,A=E,E=s,s=T+(((s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22))+m)|0}v[0]=v[0]+s|0,v[1]=v[1]+E|0,v[2]=v[2]+A|0,v[3]=v[3]+B|0,v[4]=v[4]+l|0,v[5]=v[5]+g|0,v[6]=v[6]+F|0,v[7]=v[7]+D|0},_doFinalize:function(){var i=this._data,r=i.words,v=8*this._nDataBytes,s=8*i.sigBytes;return r[s>>>5]|=128<<24-s%32,r[14+(s+64>>>9<<4)]=x.floor(v/4294967296),r[15+(s+64>>>9<<4)]=v,i.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var i=a.clone.call(this);return i._hash=this._hash.clone(),i}});h.SHA256=a._createHelper(t),h.HmacSHA256=a._createHmacHelper(t)}(Math),f.SHA256)},3752:function(P,H,o){var f;P.exports=(f=o(7656),o(4501),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,n=h.x64.Word,e=h.algo,c=[],t=[],i=[];!function(){for(var s=1,E=0,A=0;A<24;A++){c[s+5*E]=(A+1)*(A+2)/2%64;var l=(2*s+3*E)%5;s=E%5,E=l}for(s=0;s<5;s++)for(E=0;E<5;E++)t[s+5*E]=E+(2*s+3*E)%5*5;for(var g=1,F=0;F<24;F++){for(var D=0,u=0,z=0;z<7;z++){if(1&g){var k=(1<>>24)|4278255360&(g<<24|g>>>8),(D=A[l]).high^=F=16711935&(F<<8|F>>>24)|4278255360&(F<<24|F>>>8),D.low^=g}for(var u=0;u<24;u++){for(var z=0;z<5;z++){for(var k=0,S=0,W=0;W<5;W++)k^=(D=A[z+5*W]).high,S^=D.low;var p=r[z];p.high=k,p.low=S}for(z=0;z<5;z++){var m=r[(z+4)%5],R=r[(z+1)%5],y=R.high,T=R.low;for(k=m.high^(y<<1|T>>>31),S=m.low^(T<<1|y>>>31),W=0;W<5;W++)(D=A[z+5*W]).high^=k,D.low^=S}for(var L=1;L<25;L++){var U=(D=A[L]).high,I=D.low,N=c[L];N<32?(k=U<>>32-N,S=I<>>32-N):(k=I<>>64-N,S=U<>>64-N);var _=r[t[L]];_.high=k,_.low=S}var j=r[0],X=A[0];for(j.high=X.high,j.low=X.low,z=0;z<5;z++)for(W=0;W<5;W++){var w=r[L=z+5*W],K=r[(z+1)%5+5*W],G=r[(z+2)%5+5*W];(D=A[L]).high=w.high^~K.high&G.high,D.low=w.low^~K.low&G.low}var D,O=i[u];(D=A[0]).high^=O.high,D.low^=O.low}},_doFinalize:function(){var s=this._data,E=s.words,B=8*s.sigBytes,l=32*this.blockSize;E[B>>>5]|=1<<24-B%32,E[(x.ceil((B+1)/l)*l>>>5)-1]|=128,s.sigBytes=4*E.length,this._process();for(var g=this._state,F=this.cfg.outputLength/8,D=F/8,u=[],z=0;z>>24)|4278255360&(S<<24|S>>>8),u.push(W=16711935&(W<<8|W>>>24)|4278255360&(W<<24|W>>>8)),u.push(S)}return new b.init(u,F)},clone:function(){for(var s=a.clone.call(this),E=s._state=this._state.slice(0),A=0;A<25;A++)E[A]=E[A].clone();return s}});h.SHA3=a._createHelper(v),h.HmacSHA3=a._createHmacHelper(v)}(Math),f.SHA3)},4068:function(P,H,o){var x,h,C,b,a,d,n,f;P.exports=(f=o(7656),o(4501),o(885),C=(h=(x=f).x64).Word,b=h.WordArray,n=(a=x.algo).SHA384=(d=a.SHA512).extend({_doReset:function(){this._hash=new b.init([new C.init(3418070365,3238371032),new C.init(1654270250,914150663),new C.init(2438529370,812702999),new C.init(355462360,4144912697),new C.init(1731405415,4290775857),new C.init(2394180231,1750603025),new C.init(3675008525,1694076839),new C.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}}),x.SHA384=d._createHelper(n),x.HmacSHA384=d._createHmacHelper(n),f.SHA384)},885:function(P,H,o){var f;P.exports=(f=o(7656),o(4501),function(){var x=f,C=x.lib.Hasher,b=x.x64,a=b.Word,d=b.WordArray,n=x.algo;function e(){return a.create.apply(a,arguments)}var c=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],t=[];!function(){for(var r=0;r<80;r++)t[r]=e()}();var i=n.SHA512=C.extend({_doReset:function(){this._hash=new d.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(r,v){for(var s=this._hash.words,E=s[0],A=s[1],B=s[2],l=s[3],g=s[4],F=s[5],D=s[6],u=s[7],z=E.high,k=E.low,S=A.high,W=A.low,p=B.high,m=B.low,R=l.high,y=l.low,T=g.high,L=g.low,U=F.high,I=F.low,N=D.high,_=D.low,j=u.high,X=u.low,w=z,K=k,G=S,O=W,e0=p,q=m,B0=R,t0=y,$=T,Z=L,s0=U,a0=I,c0=N,n0=_,l0=j,i0=X,Q=0;Q<80;Q++){var M,V,v0=t[Q];if(Q<16)V=v0.high=0|r[v+2*Q],M=v0.low=0|r[v+2*Q+1];else{var C0=t[Q-15],x0=C0.high,o0=C0.low,E0=(o0>>>1|x0<<31)^(o0>>>8|x0<<24)^(o0>>>7|x0<<25),d0=t[Q-2],r0=d0.high,f0=d0.low,h0=(f0>>>19|r0<<13)^(f0<<3|r0>>>29)^(f0>>>6|r0<<26),A0=t[Q-7],F0=t[Q-16],D0=F0.low;v0.high=V=(V=(V=((x0>>>1|o0<<31)^(x0>>>8|o0<<24)^x0>>>7)+A0.high+((M=E0+A0.low)>>>0>>0?1:0))+((r0>>>19|f0<<13)^(r0<<3|f0>>>29)^r0>>>6)+((M+=h0)>>>0>>0?1:0))+F0.high+((M+=D0)>>>0>>0?1:0),v0.low=M}var Y,P0=$&s0^~$&c0,u0=Z&a0^~Z&n0,R0=w&G^w&e0^G&e0,p0=(K>>>28|w<<4)^(K<<30|w>>>2)^(K<<25|w>>>7),g0=c[Q],b0=g0.low,J=l0+(($>>>14|Z<<18)^($>>>18|Z<<14)^($<<23|Z>>>9))+((Y=i0+((Z>>>14|$<<18)^(Z>>>18|$<<14)^(Z<<23|$>>>9)))>>>0>>0?1:0),y0=p0+(K&O^K&q^O&q);l0=c0,i0=n0,c0=s0,n0=a0,s0=$,a0=Z,$=B0+(J=(J=(J=J+P0+((Y+=u0)>>>0>>0?1:0))+g0.high+((Y+=b0)>>>0>>0?1:0))+V+((Y+=M)>>>0>>0?1:0))+((Z=t0+Y|0)>>>0>>0?1:0)|0,B0=e0,t0=q,e0=G,q=O,G=w,O=K,w=J+(((w>>>28|K<<4)^(w<<30|K>>>2)^(w<<25|K>>>7))+R0+(y0>>>0>>0?1:0))+((K=Y+y0|0)>>>0>>0?1:0)|0}k=E.low=k+K,E.high=z+w+(k>>>0>>0?1:0),W=A.low=W+O,A.high=S+G+(W>>>0>>0?1:0),m=B.low=m+q,B.high=p+e0+(m>>>0>>0?1:0),y=l.low=y+t0,l.high=R+B0+(y>>>0>>0?1:0),L=g.low=L+Z,g.high=T+$+(L>>>0>>0?1:0),I=F.low=I+a0,F.high=U+s0+(I>>>0>>0?1:0),_=D.low=_+n0,D.high=N+c0+(_>>>0>>0?1:0),X=u.low=X+i0,u.high=j+l0+(X>>>0>>0?1:0)},_doFinalize:function(){var r=this._data,v=r.words,s=8*this._nDataBytes,E=8*r.sigBytes;return v[E>>>5]|=128<<24-E%32,v[30+(E+128>>>10<<5)]=Math.floor(s/4294967296),v[31+(E+128>>>10<<5)]=s,r.sigBytes=4*v.length,this._process(),this._hash.toX32()},clone:function(){var r=C.clone.call(this);return r._hash=this._hash.clone(),r},blockSize:32});x.SHA512=C._createHelper(i),x.HmacSHA512=C._createHmacHelper(i)}(),f.SHA512)},2515:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,h=x.lib,C=h.WordArray,b=h.BlockCipher,a=x.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],n=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],e=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],t=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],i=a.DES=b.extend({_doReset:function(){for(var A=this._key.words,B=[],l=0;l<56;l++){var g=d[l]-1;B[l]=A[g>>>5]>>>31-g%32&1}for(var F=this._subKeys=[],D=0;D<16;D++){var u=F[D]=[],z=e[D];for(l=0;l<24;l++)u[l/6|0]|=B[(n[l]-1+z)%28]<<31-l%6,u[4+(l/6|0)]|=B[28+(n[l+24]-1+z)%28]<<31-l%6;for(u[0]=u[0]<<1|u[0]>>>31,l=1;l<7;l++)u[l]=u[l]>>>4*(l-1)+3;u[7]=u[7]<<5|u[7]>>>27}var k=this._invSubKeys=[];for(l=0;l<16;l++)k[l]=F[15-l]},encryptBlock:function(E,A){this._doCryptBlock(E,A,this._subKeys)},decryptBlock:function(E,A){this._doCryptBlock(E,A,this._invSubKeys)},_doCryptBlock:function(E,A,B){this._lBlock=E[A],this._rBlock=E[A+1],r.call(this,4,252645135),r.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),r.call(this,1,1431655765);for(var l=0;l<16;l++){for(var g=B[l],F=this._lBlock,D=this._rBlock,u=0,z=0;z<8;z++)u|=c[z][((D^g[z])&t[z])>>>0];this._lBlock=D,this._rBlock=F^u}var k=this._lBlock;this._lBlock=this._rBlock,this._rBlock=k,r.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),r.call(this,16,65535),r.call(this,4,252645135),E[A]=this._lBlock,E[A+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function r(E,A){var B=(this._lBlock>>>E^this._rBlock)&A;this._rBlock^=B,this._lBlock^=B<>>E^this._lBlock)&A;this._lBlock^=B,this._rBlock^=B<192.");var B=A.slice(0,2),l=A.length<4?A.slice(0,2):A.slice(2,4),g=A.length<6?A.slice(0,2):A.slice(4,6);this._des1=i.createEncryptor(C.create(B)),this._des2=i.createEncryptor(C.create(l)),this._des3=i.createEncryptor(C.create(g))},encryptBlock:function(E,A){this._des1.encryptBlock(E,A),this._des2.decryptBlock(E,A),this._des3.encryptBlock(E,A)},decryptBlock:function(E,A){this._des3.decryptBlock(E,A),this._des2.encryptBlock(E,A),this._des1.decryptBlock(E,A)},keySize:6,ivSize:2,blockSize:2});x.TripleDES=b._createHelper(s)}(),f.TripleDES)},4501:function(P,H,o){var C,b,a,d,f;P.exports=(f=o(7656),b=(C=f.lib).Base,a=C.WordArray,(d=f.x64={}).Word=b.extend({init:function(c,t){this.high=c,this.low=t}}),d.WordArray=b.extend({init:function(c,t){c=this.words=c||[],this.sigBytes=null!=t?t:8*c.length},toX32:function(){for(var c=this.words,t=c.length,i=[],r=0;r{"use strict";o.d(H,{N:()=>C});var f=o(5083),x=o(467);class h extends f.E_{constructor(){super(...arguments),this.ERROR_PICK_FILE_CANCELED="pickFiles canceled."}convertHeicToJpeg(a){var d=this;return(0,x.A)(function*(){throw d.unimplemented("Not implemented on web.")})()}pickFiles(a){var d=this;return(0,x.A)(function*(){const n=yield d.openFilePicker(a);if(!n)throw new Error(d.ERROR_PICK_FILE_CANCELED);const e={files:[]};for(const c of n){const t={blob:c,modifiedAt:c.lastModified,mimeType:d.getMimeTypeFromUrl(c),name:d.getNameFromUrl(c),path:void 0,size:d.getSizeFromUrl(c)};null!=a&&a.readData&&(t.data=yield d.getDataFromFile(c)),e.files.push(t)}return e})()}pickImages(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["image/*"]},a))})()}pickMedia(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["image/*","video/*"]},a))})()}pickVideos(a){var d=this;return(0,x.A)(function*(){return d.pickFiles(Object.assign({types:["video/*"]},a))})()}openFilePicker(a){var d=this;return(0,x.A)(function*(){var n;const e=(null===(n=null==a?void 0:a.types)||void 0===n?void 0:n.join(","))||"",c=!(null==a||!a.multiple);return new Promise(t=>{let i=!1;const r=document.createElement("input");r.type="file",r.accept=e,r.multiple=c,r.addEventListener("change",()=>{i=!0;const v=Array.from(r.files||[]);t(v)},{once:!0}),window.addEventListener("focus",(0,x.A)(function*(){yield d.wait(1e3),!i&&t(void 0)}),{once:!0}),r.click()})})()}getDataFromFile(a){return(0,x.A)(function*(){return new Promise((d,n)=>{const e=new FileReader;e.readAsDataURL(a),e.onload=()=>{const i=("string"==typeof e.result?e.result:"").split("base64,")[1]||"";d(i)},e.onerror=c=>{n(c)}})})()}getNameFromUrl(a){return a.name}getMimeTypeFromUrl(a){return a.type}getSizeFromUrl(a){return a.size}wait(a){return(0,x.A)(function*(){return new Promise(d=>setTimeout(d,a))})()}}const C=(0,f.F3)("FilePicker",{web:()=>new h})},1129:(P,H,o)=>{"use strict";o.d(H,{W:()=>n});var f=o(467),x=o(4438),h=o(8974),C=o(4517),b=o(177),a=o(5402);function d(e,c){if(1&e){const t=x.RV6();x.j41(0,"ion-item",2),x.bIt("click",function(){const r=x.eBV(t).$implicit,v=x.XpG();return x.Njj(v.upload(r.type))}),x.j41(1,"ion-label"),x.EFF(2),x.nI1(3,"translate"),x.k0s()()}if(2&e){const t=c.$implicit;x.R7$(2),x.JRh(x.bMT(3,1,t.label))}}let n=(()=>{var e;class c{constructor(i,r){this.modalCtrl=i,this.navParams=r,this.youtubeurl="",this.uploadType=[]}ngOnInit(){this.uploadType=this.navParams.get("uploadType")}upload(i){var r=this;return(0,f.A)(function*(){console.log("type ",i),r.modalCtrl.dismiss({type:i})})()}}return(e=c).\u0275fac=function(i){return new(i||e)(x.rXU(h.W3),x.rXU(C.y8))},e.\u0275cmp=x.VBU({type:e,selectors:[["app-upload-local"]],decls:3,vars:1,consts:[[1,"inner-content"],[3,"click",4,"ngFor","ngForOf"],[3,"click"]],template:function(i,r){1&i&&(x.j41(0,"div",0)(1,"ion-list"),x.DNE(2,d,4,3,"ion-item",1),x.k0s()()),2&i&&(x.R7$(2),x.Y8G("ngForOf",r.uploadType))},dependencies:[b.Sq,h.uz,h.he,h.nf,a.D9]}),c})()},4733:(P,H,o)=>{"use strict";o.d(H,{O:()=>x});var f=o(56);class x{static isTrackable(C){return(C=C.trackable?C:C.contentData&&C.contentData.trackable?C.contentData:C).trackable&&C.trackable.enabled?C.trackable.enabled===f.Th.YES?1:C.mimeType===f.z5.COLLECTION?0:-1:C.contentType&&C.contentType.toLowerCase()===f.cM.COURSE.toLowerCase()?1:C.mimeType===f.z5.COLLECTION?0:-1}static getMimeType(C){const b=C.split(".").pop();let a="";switch(null==b?void 0:b.toLowerCase()){case"mp4":a=f.z5.VIDEO;break;case"pdf":a=f.z5.PDF;break;case"mp3":case"m4a":a=f.z5.AUDIOS;break;case"wav":a=f.z5.RECOEDED_AUDIO;break;case"youtube":a=f.z5.YOUTUBE;break;case"link":a=f.z5.LINK}return a}static getImagePath(C){return{mp3:"/assets/images/Audio.png",mp4:"/assets/images/Video.png",webm:"/assets/images/Video.png",pdf:"/assets/images/PDF.png",link:"/assets/images/LINK.png"}[C.split("/").pop()]}}},3188:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.BlockCipher,b=x.algo,a=[],d=[],n=[],e=[],c=[],t=[],i=[],r=[],v=[],s=[];!function(){for(var B=[],l=0;l<256;l++)B[l]=l<128?l<<1:l<<1^283;var g=0,F=0;for(l=0;l<256;l++){var D=F^F<<1^F<<2^F<<3^F<<4;a[g]=D=D>>>8^255&D^99,d[D]=g;var S,u=B[g],z=B[u],k=B[z];n[g]=(S=257*B[D]^16843008*D)<<24|S>>>8,e[g]=S<<16|S>>>16,c[g]=S<<8|S>>>24,t[g]=S,i[D]=(S=16843009*k^65537*z^257*u^16843008*g)<<24|S>>>8,r[D]=S<<16|S>>>16,v[D]=S<<8|S>>>24,s[D]=S,g?(g=u^B[B[B[k^u]]],F^=B[B[F]]):g=F=1}}();var E=[0,1,2,4,8,16,32,64,128,27,54],A=b.AES=C.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var l=this._keyPriorReset=this._key,g=l.words,F=l.sigBytes/4,u=4*((this._nRounds=F+6)+1),z=this._keySchedule=[],k=0;k6&&k%F==4&&(B=a[B>>>24]<<24|a[B>>>16&255]<<16|a[B>>>8&255]<<8|a[255&B]):(B=a[(B=B<<8|B>>>24)>>>24]<<24|a[B>>>16&255]<<16|a[B>>>8&255]<<8|a[255&B],B^=E[k/F|0]<<24),z[k]=z[k-F]^B);for(var S=this._invKeySchedule=[],W=0;W>>24]]^r[a[B>>>16&255]]^v[a[B>>>8&255]]^s[a[255&B]]}}},encryptBlock:function(B,l){this._doCryptBlock(B,l,this._keySchedule,n,e,c,t,a)},decryptBlock:function(B,l){var g=B[l+1];B[l+1]=B[l+3],B[l+3]=g,this._doCryptBlock(B,l,this._invKeySchedule,i,r,v,s,d),g=B[l+1],B[l+1]=B[l+3],B[l+3]=g},_doCryptBlock:function(B,l,g,F,D,u,z,k){for(var S=this._nRounds,W=B[l]^g[0],p=B[l+1]^g[1],m=B[l+2]^g[2],R=B[l+3]^g[3],y=4,T=1;T>>24]^D[p>>>16&255]^u[m>>>8&255]^z[255&R]^g[y++],U=F[p>>>24]^D[m>>>16&255]^u[R>>>8&255]^z[255&W]^g[y++],I=F[m>>>24]^D[R>>>16&255]^u[W>>>8&255]^z[255&p]^g[y++],N=F[R>>>24]^D[W>>>16&255]^u[p>>>8&255]^z[255&m]^g[y++];W=L,p=U,m=I,R=N}L=(k[W>>>24]<<24|k[p>>>16&255]<<16|k[m>>>8&255]<<8|k[255&R])^g[y++],U=(k[p>>>24]<<24|k[m>>>16&255]<<16|k[R>>>8&255]<<8|k[255&W])^g[y++],I=(k[m>>>24]<<24|k[R>>>16&255]<<16|k[W>>>8&255]<<8|k[255&p])^g[y++],N=(k[R>>>24]<<24|k[W>>>16&255]<<16|k[p>>>8&255]<<8|k[255&m])^g[y++],B[l]=L,B[l+1]=U,B[l+2]=I,B[l+3]=N},keySize:8});x.AES=C._createHelper(A)}(),f.AES)},5269:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.BlockCipher;const a=16,d=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],n=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var e={pbox:[],sbox:[]};function c(s,E){let F=s.sbox[0][E>>24&255]+s.sbox[1][E>>16&255];return F^=s.sbox[2][E>>8&255],F+=s.sbox[3][255&E],F}function t(s,E,A){let g,B=E,l=A;for(let F=0;F=A&&(B=0);let l=0,g=0,F=0;for(let D=0;D1;--F)B^=s.pbox[F],l=c(s,B)^l,g=B,B=l,l=g;return g=B,B=l,l=g,l^=s.pbox[1],B^=s.pbox[0],{left:B,right:l}}(e,s[E],s[E+1]);s[E]=A.left,s[E+1]=A.right},blockSize:2,keySize:4,ivSize:2});x.Blowfish=C._createHelper(v)}(),f.Blowfish)},2414:function(P,H,o){var h,C,b,a,d,n,c,i,r,s,E,A,l,F,u,z,S,W,f;P.exports=(f=o(7656),o(4147),void(f.lib.Cipher||(h=f,C=h.lib,b=C.Base,a=C.WordArray,d=C.BufferedBlockAlgorithm,n=h.enc,c=n.Base64,i=h.algo.EvpKDF,r=C.Cipher=d.extend({cfg:b.extend(),createEncryptor:function(p,m){return this.create(this._ENC_XFORM_MODE,p,m)},createDecryptor:function(p,m){return this.create(this._DEC_XFORM_MODE,p,m)},init:function(p,m,R){this.cfg=this.cfg.extend(R),this._xformMode=p,this._key=m,this.reset()},reset:function(){d.reset.call(this),this._doReset()},process:function(p){return this._append(p),this._process()},finalize:function(p){return p&&this._append(p),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function p(m){return"string"==typeof m?W:z}return function(m){return{encrypt:function(R,y,T){return p(y).encrypt(m,R,y,T)},decrypt:function(R,y,T){return p(y).decrypt(m,R,y,T)}}}}()}),C.StreamCipher=r.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),s=h.mode={},E=C.BlockCipherMode=b.extend({createEncryptor:function(p,m){return this.Encryptor.create(p,m)},createDecryptor:function(p,m){return this.Decryptor.create(p,m)},init:function(p,m){this._cipher=p,this._iv=m}}),A=s.CBC=function(){var p=E.extend();function m(R,y,T){var L,U=this._iv;U?(L=U,this._iv=undefined):L=this._prevBlock;for(var I=0;I>>2]}},C.BlockCipher=r.extend({cfg:r.cfg.extend({mode:A,padding:l}),reset:function(){var p;r.reset.call(this);var m=this.cfg,R=m.iv,y=m.mode;this._xformMode==this._ENC_XFORM_MODE?p=y.createEncryptor:(p=y.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==p?this._mode.init(this,R&&R.words):(this._mode=p.call(y,this,R&&R.words),this._mode.__creator=p)},_doProcessBlock:function(p,m){this._mode.processBlock(p,m)},_doFinalize:function(){var p,m=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(m.pad(this._data,this.blockSize),p=this._process(!0)):(p=this._process(!0),m.unpad(p)),p},blockSize:4}),F=C.CipherParams=b.extend({init:function(p){this.mixIn(p)},toString:function(p){return(p||this.formatter).stringify(this)}}),u=(h.format={}).OpenSSL={stringify:function(p){var R=p.ciphertext,y=p.salt;return(y?a.create([1398893684,1701076831]).concat(y).concat(R):R).toString(c)},parse:function(p){var m,R=c.parse(p),y=R.words;return 1398893684==y[0]&&1701076831==y[1]&&(m=a.create(y.slice(2,4)),y.splice(0,4),R.sigBytes-=16),F.create({ciphertext:R,salt:m})}},z=C.SerializableCipher=b.extend({cfg:b.extend({format:u}),encrypt:function(p,m,R,y){y=this.cfg.extend(y);var T=p.createEncryptor(R,y),L=T.finalize(m),U=T.cfg;return F.create({ciphertext:L,key:R,iv:U.iv,algorithm:p,mode:U.mode,padding:U.padding,blockSize:p.blockSize,formatter:y.format})},decrypt:function(p,m,R,y){return y=this.cfg.extend(y),m=this._parse(m,y.format),p.createDecryptor(R,y).finalize(m.ciphertext)},_parse:function(p,m){return"string"==typeof p?m.parse(p,this):p}}),S=(h.kdf={}).OpenSSL={execute:function(p,m,R,y,T){if(y||(y=a.random(8)),T)var L=i.create({keySize:m+R,hasher:T}).compute(p,y);else L=i.create({keySize:m+R}).compute(p,y);var U=a.create(L.words.slice(m),4*R);return L.sigBytes=4*m,F.create({key:L,iv:U,salt:y})}},W=C.PasswordBasedCipher=z.extend({cfg:z.cfg.extend({kdf:S}),encrypt:function(p,m,R,y){var T=(y=this.cfg.extend(y)).kdf.execute(R,p.keySize,p.ivSize,y.salt,y.hasher);y.iv=T.iv;var L=z.encrypt.call(this,p,m,T.key,y);return L.mixIn(T),L},decrypt:function(p,m,R,y){y=this.cfg.extend(y),m=this._parse(m,y.format);var T=y.kdf.execute(R,p.keySize,p.ivSize,m.salt,y.hasher);return y.iv=T.iv,z.decrypt.call(this,p,m,T.key,y)}}))))},8891:function(P,H,o){var f,C;P.exports=(f=o(7656),C=f.lib.WordArray,f.enc.Base64={stringify:function(n){var e=n.words,c=n.sigBytes,t=this._map;n.clamp();for(var i=[],r=0;r>>2]>>>24-r%4*8&255)<<16|(e[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|e[r+2>>>2]>>>24-(r+2)%4*8&255,B=0;B<4&&r+.75*B>>6*(3-B)&63));var l=t.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(n){var e=n.length,c=this._map,t=this._reverseMap;if(!t){t=this._reverseMap=[];for(var i=0;i>>6-r%4*2;t[i>>>2]|=(v|s)<<24-i%4*8,i++}return C.create(t,i)}(n,e,t)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},f.enc.Base64)},4217:function(P,H,o){var f,C;P.exports=(f=o(7656),C=f.lib.WordArray,f.enc.Base64url={stringify:function(n,e){void 0===e&&(e=!0);var c=n.words,t=n.sigBytes,i=e?this._safe_map:this._map;n.clamp();for(var r=[],v=0;v>>2]>>>24-v%4*8&255)<<16|(c[v+1>>>2]>>>24-(v+1)%4*8&255)<<8|c[v+2>>>2]>>>24-(v+2)%4*8&255,l=0;l<4&&v+.75*l>>6*(3-l)&63));var g=i.charAt(64);if(g)for(;r.length%4;)r.push(g);return r.join("")},parse:function(n,e){void 0===e&&(e=!0);var c=n.length,t=e?this._safe_map:this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var r=0;r>>6-r%4*2;t[i>>>2]|=(v|s)<<24-i%4*8,i++}return C.create(t,i)}(n,c,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"},f.enc.Base64url)},5304:function(P,H,o){var f;P.exports=(f=o(7656),function(){var C=f.lib.WordArray,b=f.enc;function d(n){return n<<8&4278255360|n>>>8&16711935}b.Utf16=b.Utf16BE={stringify:function(n){for(var e=n.words,c=n.sigBytes,t=[],i=0;i>>2]>>>16-i%4*8&65535));return t.join("")},parse:function(n){for(var e=n.length,c=[],t=0;t>>1]|=n.charCodeAt(t)<<16-t%2*16;return C.create(c,2*e)}},b.Utf16LE={stringify:function(n){for(var e=n.words,c=n.sigBytes,t=[],i=0;i>>2]>>>16-i%4*8&65535);t.push(String.fromCharCode(r))}return t.join("")},parse:function(n){for(var e=n.length,c=[],t=0;t>>1]|=d(n.charCodeAt(t)<<16-t%2*16);return C.create(c,2*e)}}}(),f.enc.Utf16)},4147:function(P,H,o){var x,h,C,b,a,n,f;P.exports=(f=o(7656),o(9986),o(7868),b=(h=(x=f).lib).WordArray,n=(a=x.algo).EvpKDF=(C=h.Base).extend({cfg:C.extend({keySize:4,hasher:a.MD5,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,c){for(var t,i=this.cfg,r=i.hasher.create(),v=b.create(),s=v.words,E=i.keySize,A=i.iterations;s.lengthi&&(c=e.finalize(c)),c.clamp();for(var r=this._oKey=c.clone(),v=this._iKey=c.clone(),s=r.words,E=v.words,A=0;A>>2]|=d[c]<<24-c%4*8;b.call(this,e,n)}else b.apply(this,arguments)};a.prototype=C}}(),f.lib.WordArray)},4152:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.mode.CFB=function(){var x=f.lib.BlockCipherMode.extend();function h(C,b,a,d){var n,e=this._iv;e?(n=e.slice(0),this._iv=void 0):n=this._prevBlock,d.encryptBlock(n,0);for(var c=0;c>24))a+=1<<24;else{var d=a>>16&255,n=a>>8&255,e=255&a;255===d?(d=0,255===n?(n=0,255===e?e=0:++e):++n):++d,a=0,a+=d<<16,a+=n<<8,a+=e}return a}var b=x.Encryptor=x.extend({processBlock:function(a,d){var n=this._cipher,e=n.blockSize,c=this._iv,t=this._counter;c&&(t=this._counter=c.slice(0),this._iv=void 0),function C(a){return 0===(a[0]=h(a[0]))&&(a[1]=h(a[1])),a}(t);var i=t.slice(0);n.encryptBlock(i,0);for(var r=0;r>>2]|=a<<24-d%4*8,x.sigBytes+=a},unpad:function(x){x.sigBytes-=255&x.words[x.sigBytes-1>>>2]}},f.pad.Ansix923)},7516:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.Iso10126={pad:function(x,h){var C=4*h,b=C-x.sigBytes%C;x.concat(f.lib.WordArray.random(b-1)).concat(f.lib.WordArray.create([b<<24],1))},unpad:function(x){x.sigBytes-=255&x.words[x.sigBytes-1>>>2]}},f.pad.Iso10126)},9047:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.Iso97971={pad:function(x,h){x.concat(f.lib.WordArray.create([2147483648],1)),f.pad.ZeroPadding.pad(x,h)},unpad:function(x){f.pad.ZeroPadding.unpad(x),x.sigBytes--}},f.pad.Iso97971)},2599:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.NoPadding={pad:function(){},unpad:function(){}},f.pad.NoPadding)},6964:function(P,H,o){var f;P.exports=(f=o(7656),o(2414),f.pad.ZeroPadding={pad:function(x,h){var C=4*h;x.clamp(),x.sigBytes+=C-(x.sigBytes%C||C)},unpad:function(x){var h=x.words,C=x.sigBytes-1;for(C=x.sigBytes-1;C>=0;C--)if(h[C>>>2]>>>24-C%4*8&255){x.sigBytes=C+1;break}}},f.pad.ZeroPadding)},7738:function(P,H,o){var x,h,C,b,a,n,e,f;P.exports=(f=o(7656),o(5168),o(7868),b=(h=(x=f).lib).WordArray,n=(a=x.algo).HMAC,e=a.PBKDF2=(C=h.Base).extend({cfg:C.extend({keySize:4,hasher:a.SHA256,iterations:25e4}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,t){for(var i=this.cfg,r=n.create(i.hasher,c),v=b.create(),s=b.create([1]),E=v.words,A=s.words,B=i.keySize,l=i.iterations;E.length>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],v=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var s=0;s<4;s++)c.call(this);for(s=0;s<8;s++)v[s]^=r[s+4&7];if(i){var E=i.words,A=E[0],B=E[1],l=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8),g=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),F=l>>>16|4294901760&g,D=g<<16|65535&l;for(v[0]^=l,v[1]^=F,v[2]^=g,v[3]^=D,v[4]^=l,v[5]^=F,v[6]^=g,v[7]^=D,s=0;s<4;s++)c.call(this)}},_doProcessBlock:function(t,i){var r=this._X;c.call(this),a[0]=r[0]^r[5]>>>16^r[3]<<16,a[1]=r[2]^r[7]>>>16^r[5]<<16,a[2]=r[4]^r[1]>>>16^r[7]<<16,a[3]=r[6]^r[3]>>>16^r[1]<<16;for(var v=0;v<4;v++)a[v]=16711935&(a[v]<<8|a[v]>>>24)|4278255360&(a[v]<<24|a[v]>>>8),t[i+v]^=a[v]},blockSize:4,ivSize:2});function c(){for(var t=this._X,i=this._C,r=0;r<8;r++)d[r]=i[r];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0>>0?1:0)|0,this._b=i[7]>>>0>>0?1:0,r=0;r<8;r++){var v=t[r]+i[r],s=65535&v,E=v>>>16;n[r]=((s*s>>>17)+s*E>>>15)+E*E^((4294901760&v)*v|0)+((65535&v)*v|0)}t[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,t[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,t[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,t[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,t[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,t[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,t[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,t[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}x.RabbitLegacy=C._createHelper(e)}(),f.RabbitLegacy)},2795:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.StreamCipher,a=[],d=[],n=[],e=x.algo.Rabbit=C.extend({_doReset:function(){for(var t=this._key.words,i=this.cfg.iv,r=0;r<4;r++)t[r]=16711935&(t[r]<<8|t[r]>>>24)|4278255360&(t[r]<<24|t[r]>>>8);var v=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],s=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,r=0;r<4;r++)c.call(this);for(r=0;r<8;r++)s[r]^=v[r+4&7];if(i){var E=i.words,A=E[0],B=E[1],l=16711935&(A<<8|A>>>24)|4278255360&(A<<24|A>>>8),g=16711935&(B<<8|B>>>24)|4278255360&(B<<24|B>>>8),F=l>>>16|4294901760&g,D=g<<16|65535&l;for(s[0]^=l,s[1]^=F,s[2]^=g,s[3]^=D,s[4]^=l,s[5]^=F,s[6]^=g,s[7]^=D,r=0;r<4;r++)c.call(this)}},_doProcessBlock:function(t,i){var r=this._X;c.call(this),a[0]=r[0]^r[5]>>>16^r[3]<<16,a[1]=r[2]^r[7]>>>16^r[5]<<16,a[2]=r[4]^r[1]>>>16^r[7]<<16,a[3]=r[6]^r[3]>>>16^r[1]<<16;for(var v=0;v<4;v++)a[v]=16711935&(a[v]<<8|a[v]>>>24)|4278255360&(a[v]<<24|a[v]>>>8),t[i+v]^=a[v]},blockSize:4,ivSize:2});function c(){for(var t=this._X,i=this._C,r=0;r<8;r++)d[r]=i[r];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0>>0?1:0)|0,this._b=i[7]>>>0>>0?1:0,r=0;r<8;r++){var v=t[r]+i[r],s=65535&v,E=v>>>16;n[r]=((s*s>>>17)+s*E>>>15)+E*E^((4294901760&v)*v|0)+((65535&v)*v|0)}t[0]=n[0]+(n[7]<<16|n[7]>>>16)+(n[6]<<16|n[6]>>>16)|0,t[1]=n[1]+(n[0]<<8|n[0]>>>24)+n[7]|0,t[2]=n[2]+(n[1]<<16|n[1]>>>16)+(n[0]<<16|n[0]>>>16)|0,t[3]=n[3]+(n[2]<<8|n[2]>>>24)+n[1]|0,t[4]=n[4]+(n[3]<<16|n[3]>>>16)+(n[2]<<16|n[2]>>>16)|0,t[5]=n[5]+(n[4]<<8|n[4]>>>24)+n[3]|0,t[6]=n[6]+(n[5]<<16|n[5]>>>16)+(n[4]<<16|n[4]>>>16)|0,t[7]=n[7]+(n[6]<<8|n[6]>>>24)+n[5]|0}x.Rabbit=C._createHelper(e)}(),f.Rabbit)},5350:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,C=x.lib.StreamCipher,b=x.algo,a=b.RC4=C.extend({_doReset:function(){for(var e=this._key,c=e.words,t=e.sigBytes,i=this._S=[],r=0;r<256;r++)i[r]=r;r=0;for(var v=0;r<256;r++){var s=r%t,A=i[r];i[r]=i[v=(v+i[r]+(c[s>>>2]>>>24-s%4*8&255))%256],i[v]=A}this._i=this._j=0},_doProcessBlock:function(e,c){e[c]^=d.call(this)},keySize:8,ivSize:0});function d(){for(var e=this._S,c=this._i,t=this._j,i=0,r=0;r<4;r++){var v=e[c=(c+1)%256];e[c]=e[t=(t+e[c])%256],e[t]=v,i|=e[(e[c]+e[t])%256]<<24-8*r}return this._i=c,this._j=t,i}x.RC4=C._createHelper(a);var n=b.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)d.call(this)}});x.RC4Drop=C._createHelper(n)}(),f.RC4)},447:function(P,H,o){var f;P.exports=(f=o(7656),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,d=h.algo,n=b.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),e=b.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=b.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),t=b.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),i=b.create([0,1518500249,1859775393,2400959708,2840853838]),r=b.create([1352829926,1548603684,1836072691,2053994217,0]),v=d.RIPEMD160=a.extend({_doReset:function(){this._hash=b.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(F,D){for(var u=0;u<16;u++){var z=D+u,k=F[z];F[z]=16711935&(k<<8|k>>>24)|4278255360&(k<<24|k>>>8)}var L,U,I,N,_,j,X,w,K,G,O,S=this._hash.words,W=i.words,p=r.words,m=n.words,R=e.words,y=c.words,T=t.words;for(j=L=S[0],X=U=S[1],w=I=S[2],K=N=S[3],G=_=S[4],u=0;u<80;u+=1)O=L+F[D+m[u]]|0,O+=u<16?s(U,I,N)+W[0]:u<32?E(U,I,N)+W[1]:u<48?A(U,I,N)+W[2]:u<64?B(U,I,N)+W[3]:l(U,I,N)+W[4],O=(O=g(O|=0,y[u]))+_|0,L=_,_=N,N=g(I,10),I=U,U=O,O=j+F[D+R[u]]|0,O+=u<16?l(X,w,K)+p[0]:u<32?B(X,w,K)+p[1]:u<48?A(X,w,K)+p[2]:u<64?E(X,w,K)+p[3]:s(X,w,K)+p[4],O=(O=g(O|=0,T[u]))+G|0,j=G,G=K,K=g(w,10),w=X,X=O;O=S[1]+I+K|0,S[1]=S[2]+N+G|0,S[2]=S[3]+_+j|0,S[3]=S[4]+L+X|0,S[4]=S[0]+U+w|0,S[0]=O},_doFinalize:function(){var F=this._data,D=F.words,u=8*this._nDataBytes,z=8*F.sigBytes;D[z>>>5]|=128<<24-z%32,D[14+(z+64>>>9<<4)]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),F.sigBytes=4*(D.length+1),this._process();for(var k=this._hash,S=k.words,W=0;W<5;W++){var p=S[W];S[W]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}return k},clone:function(){var F=a.clone.call(this);return F._hash=this._hash.clone(),F}});function s(F,D,u){return F^D^u}function E(F,D,u){return F&D|~F&u}function A(F,D,u){return(F|~D)^u}function B(F,D,u){return F&u|D&~u}function l(F,D,u){return F^(D|~u)}function g(F,D){return F<>>32-D}h.RIPEMD160=a._createHelper(v),h.HmacRIPEMD160=a._createHmacHelper(v)}(Math),f.RIPEMD160)},9225:function(P,H,o){var x,C,b,a,d,f;P.exports=(f=o(7656),o(5168),C=(x=f).lib.WordArray,d=(b=x.algo).SHA224=(a=b.SHA256).extend({_doReset:function(){this._hash=new C.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var n=a._doFinalize.call(this);return n.sigBytes-=4,n}}),x.SHA224=a._createHelper(d),x.HmacSHA224=a._createHmacHelper(d),f.SHA224)},5168:function(P,H,o){var f;P.exports=(f=o(7656),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,d=h.algo,n=[],e=[];!function(){function i(E){for(var A=x.sqrt(E),B=2;B<=A;B++)if(!(E%B))return!1;return!0}function r(E){return 4294967296*(E-(0|E))|0}for(var v=2,s=0;s<64;)i(v)&&(s<8&&(n[s]=r(x.pow(v,.5))),e[s]=r(x.pow(v,1/3)),s++),v++}();var c=[],t=d.SHA256=a.extend({_doReset:function(){this._hash=new b.init(n.slice(0))},_doProcessBlock:function(i,r){for(var v=this._hash.words,s=v[0],E=v[1],A=v[2],B=v[3],l=v[4],g=v[5],F=v[6],D=v[7],u=0;u<64;u++){if(u<16)c[u]=0|i[r+u];else{var z=c[u-15],S=c[u-2];c[u]=((z<<25|z>>>7)^(z<<14|z>>>18)^z>>>3)+c[u-7]+((S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10)+c[u-16]}var m=s&E^s&A^E&A,T=D+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&g^~l&F)+e[u]+c[u];D=F,F=g,g=l,l=B+T|0,B=A,A=E,E=s,s=T+(((s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22))+m)|0}v[0]=v[0]+s|0,v[1]=v[1]+E|0,v[2]=v[2]+A|0,v[3]=v[3]+B|0,v[4]=v[4]+l|0,v[5]=v[5]+g|0,v[6]=v[6]+F|0,v[7]=v[7]+D|0},_doFinalize:function(){var i=this._data,r=i.words,v=8*this._nDataBytes,s=8*i.sigBytes;return r[s>>>5]|=128<<24-s%32,r[14+(s+64>>>9<<4)]=x.floor(v/4294967296),r[15+(s+64>>>9<<4)]=v,i.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var i=a.clone.call(this);return i._hash=this._hash.clone(),i}});h.SHA256=a._createHelper(t),h.HmacSHA256=a._createHmacHelper(t)}(Math),f.SHA256)},3752:function(P,H,o){var f;P.exports=(f=o(7656),o(4501),function(x){var h=f,C=h.lib,b=C.WordArray,a=C.Hasher,n=h.x64.Word,e=h.algo,c=[],t=[],i=[];!function(){for(var s=1,E=0,A=0;A<24;A++){c[s+5*E]=(A+1)*(A+2)/2%64;var l=(2*s+3*E)%5;s=E%5,E=l}for(s=0;s<5;s++)for(E=0;E<5;E++)t[s+5*E]=E+(2*s+3*E)%5*5;for(var g=1,F=0;F<24;F++){for(var D=0,u=0,z=0;z<7;z++){if(1&g){var k=(1<>>24)|4278255360&(g<<24|g>>>8),(D=A[l]).high^=F=16711935&(F<<8|F>>>24)|4278255360&(F<<24|F>>>8),D.low^=g}for(var u=0;u<24;u++){for(var z=0;z<5;z++){for(var k=0,S=0,W=0;W<5;W++)k^=(D=A[z+5*W]).high,S^=D.low;var p=r[z];p.high=k,p.low=S}for(z=0;z<5;z++){var m=r[(z+4)%5],R=r[(z+1)%5],y=R.high,T=R.low;for(k=m.high^(y<<1|T>>>31),S=m.low^(T<<1|y>>>31),W=0;W<5;W++)(D=A[z+5*W]).high^=k,D.low^=S}for(var L=1;L<25;L++){var U=(D=A[L]).high,I=D.low,N=c[L];N<32?(k=U<>>32-N,S=I<>>32-N):(k=I<>>64-N,S=U<>>64-N);var _=r[t[L]];_.high=k,_.low=S}var j=r[0],X=A[0];for(j.high=X.high,j.low=X.low,z=0;z<5;z++)for(W=0;W<5;W++){var w=r[L=z+5*W],K=r[(z+1)%5+5*W],G=r[(z+2)%5+5*W];(D=A[L]).high=w.high^~K.high&G.high,D.low=w.low^~K.low&G.low}var D,O=i[u];(D=A[0]).high^=O.high,D.low^=O.low}},_doFinalize:function(){var s=this._data,E=s.words,B=8*s.sigBytes,l=32*this.blockSize;E[B>>>5]|=1<<24-B%32,E[(x.ceil((B+1)/l)*l>>>5)-1]|=128,s.sigBytes=4*E.length,this._process();for(var g=this._state,F=this.cfg.outputLength/8,D=F/8,u=[],z=0;z>>24)|4278255360&(S<<24|S>>>8),u.push(W=16711935&(W<<8|W>>>24)|4278255360&(W<<24|W>>>8)),u.push(S)}return new b.init(u,F)},clone:function(){for(var s=a.clone.call(this),E=s._state=this._state.slice(0),A=0;A<25;A++)E[A]=E[A].clone();return s}});h.SHA3=a._createHelper(v),h.HmacSHA3=a._createHmacHelper(v)}(Math),f.SHA3)},4068:function(P,H,o){var x,h,C,b,a,d,n,f;P.exports=(f=o(7656),o(4501),o(885),C=(h=(x=f).x64).Word,b=h.WordArray,n=(a=x.algo).SHA384=(d=a.SHA512).extend({_doReset:function(){this._hash=new b.init([new C.init(3418070365,3238371032),new C.init(1654270250,914150663),new C.init(2438529370,812702999),new C.init(355462360,4144912697),new C.init(1731405415,4290775857),new C.init(2394180231,1750603025),new C.init(3675008525,1694076839),new C.init(1203062813,3204075428)])},_doFinalize:function(){var e=d._doFinalize.call(this);return e.sigBytes-=16,e}}),x.SHA384=d._createHelper(n),x.HmacSHA384=d._createHmacHelper(n),f.SHA384)},885:function(P,H,o){var f;P.exports=(f=o(7656),o(4501),function(){var x=f,C=x.lib.Hasher,b=x.x64,a=b.Word,d=b.WordArray,n=x.algo;function e(){return a.create.apply(a,arguments)}var c=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],t=[];!function(){for(var r=0;r<80;r++)t[r]=e()}();var i=n.SHA512=C.extend({_doReset:function(){this._hash=new d.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(r,v){for(var s=this._hash.words,E=s[0],A=s[1],B=s[2],l=s[3],g=s[4],F=s[5],D=s[6],u=s[7],z=E.high,k=E.low,S=A.high,W=A.low,p=B.high,m=B.low,R=l.high,y=l.low,T=g.high,L=g.low,U=F.high,I=F.low,N=D.high,_=D.low,j=u.high,X=u.low,w=z,K=k,G=S,O=W,e0=p,q=m,B0=R,t0=y,$=T,Z=L,s0=U,a0=I,c0=N,n0=_,l0=j,i0=X,Q=0;Q<80;Q++){var M,V,v0=t[Q];if(Q<16)V=v0.high=0|r[v+2*Q],M=v0.low=0|r[v+2*Q+1];else{var C0=t[Q-15],x0=C0.high,o0=C0.low,E0=(o0>>>1|x0<<31)^(o0>>>8|x0<<24)^(o0>>>7|x0<<25),d0=t[Q-2],r0=d0.high,f0=d0.low,h0=(f0>>>19|r0<<13)^(f0<<3|r0>>>29)^(f0>>>6|r0<<26),A0=t[Q-7],F0=t[Q-16],D0=F0.low;v0.high=V=(V=(V=((x0>>>1|o0<<31)^(x0>>>8|o0<<24)^x0>>>7)+A0.high+((M=E0+A0.low)>>>0>>0?1:0))+((r0>>>19|f0<<13)^(r0<<3|f0>>>29)^r0>>>6)+((M+=h0)>>>0>>0?1:0))+F0.high+((M+=D0)>>>0>>0?1:0),v0.low=M}var Y,P0=$&s0^~$&c0,u0=Z&a0^~Z&n0,R0=w&G^w&e0^G&e0,p0=(K>>>28|w<<4)^(K<<30|w>>>2)^(K<<25|w>>>7),g0=c[Q],b0=g0.low,J=l0+(($>>>14|Z<<18)^($>>>18|Z<<14)^($<<23|Z>>>9))+((Y=i0+((Z>>>14|$<<18)^(Z>>>18|$<<14)^(Z<<23|$>>>9)))>>>0>>0?1:0),y0=p0+(K&O^K&q^O&q);l0=c0,i0=n0,c0=s0,n0=a0,s0=$,a0=Z,$=B0+(J=(J=(J=J+P0+((Y+=u0)>>>0>>0?1:0))+g0.high+((Y+=b0)>>>0>>0?1:0))+V+((Y+=M)>>>0>>0?1:0))+((Z=t0+Y|0)>>>0>>0?1:0)|0,B0=e0,t0=q,e0=G,q=O,G=w,O=K,w=J+(((w>>>28|K<<4)^(w<<30|K>>>2)^(w<<25|K>>>7))+R0+(y0>>>0>>0?1:0))+((K=Y+y0|0)>>>0>>0?1:0)|0}k=E.low=k+K,E.high=z+w+(k>>>0>>0?1:0),W=A.low=W+O,A.high=S+G+(W>>>0>>0?1:0),m=B.low=m+q,B.high=p+e0+(m>>>0>>0?1:0),y=l.low=y+t0,l.high=R+B0+(y>>>0>>0?1:0),L=g.low=L+Z,g.high=T+$+(L>>>0>>0?1:0),I=F.low=I+a0,F.high=U+s0+(I>>>0>>0?1:0),_=D.low=_+n0,D.high=N+c0+(_>>>0>>0?1:0),X=u.low=X+i0,u.high=j+l0+(X>>>0>>0?1:0)},_doFinalize:function(){var r=this._data,v=r.words,s=8*this._nDataBytes,E=8*r.sigBytes;return v[E>>>5]|=128<<24-E%32,v[30+(E+128>>>10<<5)]=Math.floor(s/4294967296),v[31+(E+128>>>10<<5)]=s,r.sigBytes=4*v.length,this._process(),this._hash.toX32()},clone:function(){var r=C.clone.call(this);return r._hash=this._hash.clone(),r},blockSize:32});x.SHA512=C._createHelper(i),x.HmacSHA512=C._createHmacHelper(i)}(),f.SHA512)},2515:function(P,H,o){var f;P.exports=(f=o(7656),o(8891),o(8855),o(4147),o(2414),function(){var x=f,h=x.lib,C=h.WordArray,b=h.BlockCipher,a=x.algo,d=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],n=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],e=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],t=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],i=a.DES=b.extend({_doReset:function(){for(var A=this._key.words,B=[],l=0;l<56;l++){var g=d[l]-1;B[l]=A[g>>>5]>>>31-g%32&1}for(var F=this._subKeys=[],D=0;D<16;D++){var u=F[D]=[],z=e[D];for(l=0;l<24;l++)u[l/6|0]|=B[(n[l]-1+z)%28]<<31-l%6,u[4+(l/6|0)]|=B[28+(n[l+24]-1+z)%28]<<31-l%6;for(u[0]=u[0]<<1|u[0]>>>31,l=1;l<7;l++)u[l]=u[l]>>>4*(l-1)+3;u[7]=u[7]<<5|u[7]>>>27}var k=this._invSubKeys=[];for(l=0;l<16;l++)k[l]=F[15-l]},encryptBlock:function(E,A){this._doCryptBlock(E,A,this._subKeys)},decryptBlock:function(E,A){this._doCryptBlock(E,A,this._invSubKeys)},_doCryptBlock:function(E,A,B){this._lBlock=E[A],this._rBlock=E[A+1],r.call(this,4,252645135),r.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),r.call(this,1,1431655765);for(var l=0;l<16;l++){for(var g=B[l],F=this._lBlock,D=this._rBlock,u=0,z=0;z<8;z++)u|=c[z][((D^g[z])&t[z])>>>0];this._lBlock=D,this._rBlock=F^u}var k=this._lBlock;this._lBlock=this._rBlock,this._rBlock=k,r.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),r.call(this,16,65535),r.call(this,4,252645135),E[A]=this._lBlock,E[A+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function r(E,A){var B=(this._lBlock>>>E^this._rBlock)&A;this._rBlock^=B,this._lBlock^=B<>>E^this._lBlock)&A;this._lBlock^=B,this._rBlock^=B<192.");var B=A.slice(0,2),l=A.length<4?A.slice(0,2):A.slice(2,4),g=A.length<6?A.slice(0,2):A.slice(4,6);this._des1=i.createEncryptor(C.create(B)),this._des2=i.createEncryptor(C.create(l)),this._des3=i.createEncryptor(C.create(g))},encryptBlock:function(E,A){this._des1.encryptBlock(E,A),this._des2.decryptBlock(E,A),this._des3.encryptBlock(E,A)},decryptBlock:function(E,A){this._des3.decryptBlock(E,A),this._des2.encryptBlock(E,A),this._des1.decryptBlock(E,A)},keySize:6,ivSize:2,blockSize:2});x.TripleDES=b._createHelper(s)}(),f.TripleDES)},4501:function(P,H,o){var C,b,a,d,f;P.exports=(f=o(7656),b=(C=f.lib).Base,a=C.WordArray,(d=f.x64={}).Word=b.extend({init:function(c,t){this.high=c,this.low=t}}),d.WordArray=b.extend({init:function(c,t){c=this.words=c||[],this.sigBytes=null!=t?t:8*c.length},toX32:function(){for(var c=this.words,t=c.length,i=[],r=0;r
-