1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([["common"],{9238(w,E,n){n.d(E,{s:()=>u});var p=n(79748),s=n(23123),e=n(41683),a=n(36124),t=n(66563);let u=(()=>{var o;class i{}return(o=i).\u0275fac=function(f){return new(f||o)},o.\u0275mod=a.$C({type:o}),o.\u0275inj=t.G2t({imports:[p.MD,s.bv,e.Y]}),i})()},51723(w,E,n){n.d(E,{p:()=>i});var p=n(20948),s=n(36124),e=n(29659),a=n(46264),t=n(23123);const u=()=>["/favorites"],o=()=>["/shop"];let i=(()=>{var m;class f{constructor(r,_){this.languageService=r,this.router=_}goToHome(){this.router.navigate(["/"])}}return(m=f).\u0275fac=function(r){return new(r||m)(s.rXU(p.g),s.rXU(e.Ix))},m.\u0275cmp=s.VBU({type:m,selectors:[["app-desktop-header"]],standalone:!1,decls:17,vars:10,consts:[[1,"desktop-header"],["size-md","3","offset-md","1","size-lg","2","offset-lg","2",1,"items-center"],[1,"logo",3,"click"],["alt","Readle logo. Go to homepage.",3,"src"],["size-md","7","size-lg","6"],[1,"items-center","header-links"],[1,"icon-wrapper",3,"routerLink"],["name","heart-outline"],["name","cart-outline",1,"icon"],[1,"select"],[1,"create-account-cta-wrapper"]],template:function(r,_){1&r&&(s.j41(0,"header",0)(1,"ion-grid")(2,"ion-row")(3,"ion-col",1)(4,"button",2),s.bIt("click",function(){return _.goToHome()}),s.nrm(5,"img",3),s.k0s()(),s.j41(6,"ion-col",4)(7,"div",5)(8,"a",6),s.nrm(9,"ion-icon",7),s.k0s(),s.j41(10,"a",6),s.nrm(11,"ion-icon",8),s.k0s(),s.nrm(12,"div",9),s.j41(13,"div",10)(14,"button"),s.EFF(15),s.k0s()(),s.nrm(16,"div",9),s.k0s()()()()()),2&r&&(s.R7$(5),s.Y8G("src","assets/img/logo.png",s.B4B),s.R7$(3),s.Y8G("routerLink",s.lJ4(8,u)),s.R7$(2),s.Y8G("routerLink",s.lJ4(9,o)),s.R7$(2),s.xc7("background-image","url(assets/img/logo.png)"),s.R7$(3),s.SpI(" ",null==_.languageService?null:_.languageService.label.txt_header_register," "),s.R7$(),s.xc7("background-image","url(assets/img/profile.jpg)"))},dependencies:[t.hU,t.lO,t.iq,t.ln,t.oY,a.Wk],styles:[".desktop-header[_ngcontent-%COMP%]{display:none}@media(min-width:5999px){.desktop-header[_ngcontent-%COMP%]{display:block;padding:2px 0;box-shadow:0 4px 16px rgba(0,0,0,.2);position:relative;z-index:1}}.items-center[_ngcontent-%COMP%], .header-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center}.header-links[_ngcontent-%COMP%]{justify-content:flex-end}.logo[_ngcontent-%COMP%]{width:40px;height:40px;padding:0;box-shadow:0 4px 6px rgba(0,0,0,.2);border-radius:10px}.icon-wrapper[_ngcontent-%COMP%]{margin-right:12px}.icon-wrapper[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:23px;color:var(--ion-color-medium-shade)}.select[_ngcontent-%COMP%]{width:28px;height:28px;border-radius:50%;background-size:contain;margin:0 12px 0 14px}.create-account-cta-wrapper[_ngcontent-%COMP%]{padding-left:12px;border-left:1px solid var(--ion-color-light-shade)}.create-account-cta-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{color:#fff;border-radius:8px;font-size:12px;padding:10px 24px;background-color:var(--ion-color-primary)}"]}),f})()},8512(w,E,n){n.d(E,{Sw:()=>e,ee:()=>s,h:()=>p});var p=function(a){return a.New="new",a.Hard="hard",a.Normal="normal",a.Easy="easy",a}(p||{}),s=function(a){return a.Easy="easy",a.Normal="normal",a.Hard="hard",a.Again="again",a}(s||{});const e={easyDays:30,normalDays:7,hardDays:1,displayAnswerDirectly:!1}},25920(w,E,n){n.d(E,{ShopPageModule:()=>r});var p=n(79748),s=n(496),e=n(46264),a=n(23123),t=n(60342),u=n(41683),o=n(45381),i=n(55553),m=n(36124),f=n(66563);const c=[{path:"",component:t.e}];let r=(()=>{var _;class g{}return(_=g).\u0275fac=function(h){return new(h||_)},_.\u0275mod=m.$C({type:_}),_.\u0275inj=f.G2t({providers:[p.oe,o.I],imports:[p.MD,s.YN,a.bv,i.h,e.iI.forChild(c),u.Y]}),g})()},40424(w,E,n){n.d(E,{E:()=>u});var p=n(79748),s=n(496),e=n(23123),a=n(36124),t=n(66563);let u=(()=>{var o;class i{}return(o=i).\u0275fac=function(f){return new(f||o)}
1,o.\u0275mod=a.$C({type:o}),o.\u0275inj=t.G2t({imports:[p.MD,s.YN,e.bv]}),i})()},68051(w,E,n){n.d(E,{b:()=>r});var p=n(89204),s=n(74994),e=n(36124),a=n(66563),t=n(23123),u=n(61811),o=n(79748),i=n(496);function m(_,g){1&_&&e.nrm(0,"ion-back-button",14)}function f(_,g){if(1&_){const l=e.RV6();e.j41(0,"ion-button",15),e.bIt("click",function(){a.eBV(l);const y=e.XpG();return a.Njj(y.dismiss())}),e.EFF(1,"Done"),e.k0s()}}function c(_,g){if(1&_){const l=e.RV6();e.qex(0),e.j41(1,"div",8),e.EFF(2,"Timing"),e.k0s(),e.j41(3,"ion-list",9)(4,"ion-item"),e.nrm(5,"ion-icon",16),e.j41(6,"ion-label")(7,"h3"),e.EFF(8,"Easy"),e.k0s(),e.j41(9,"p"),e.EFF(10),e.k0s()(),e.j41(11,"ion-range",17),e.mxI("ngModelChange",function(y){a.eBV(l);const D=e.XpG();return e.DH7(D.settings.easyDays,y)||(D.settings.easyDays=y),a.Njj(y)}),e.bIt("ionChange",function(){a.eBV(l);const y=e.XpG();return a.Njj(y.autoSave())}),e.k0s()(),e.j41(12,"ion-item"),e.nrm(13,"ion-icon",16),e.j41(14,"ion-label")(15,"h3"),e.EFF(16,"Normal"),e.k0s(),e.j41(17,"p"),e.EFF(18),e.k0s()(),e.j41(19,"ion-range",18),e.mxI("ngModelChange",function(y){a.eBV(l);const D=e.XpG();return e.DH7(D.settings.normalDays,y)||(D.settings.normalDays=y),a.Njj(y)}),e.bIt("ionChange",function(){a.eBV(l);const y=e.XpG();return a.Njj(y.autoSave())}),e.k0s()(),e.j41(20,"ion-item"),e.nrm(21,"ion-icon",16),e.j41(22,"ion-label")(23,"h3"),e.EFF(24,"Hard"),e.k0s(),e.j41(25,"p"),e.EFF(26),e.k0s()(),e.j41(27,"ion-range",19),e.mxI("ngModelChange",function(y){a.eBV(l);const D=e.XpG();return e.DH7(D.settings.hardDays,y)||(D.settings.hardDays=y),a.Njj(y)}),e.bIt("ionChange",function(){a.eBV(l);const y=e.XpG();return a.Njj(y.autoSave())}),e.k0s()()(),e.bVm()}if(2&_){const l=e.XpG();e.R7$(10),e.SpI("",null==l.settings?null:l.settings.easyDays," days"),e.R7$(),e.Y8G("min",l.easyMin)("max",l.easyMax)("step",1),e.R50("ngModel",l.settings.easyDays),e.R7$(7),e.SpI("",null==l.settings?null:l.settings.normalDays," days"),e.R7$(),e.Y8G("min",l.normalMin)("max",l.normalMax)("step",1),e.R50("ngModel",l.settings.normalDays),e.R7$(7),e.SpI("",null==l.settings?null:l.settings.hardDays," days"),e.R7$(),e.Y8G("min",l.hardMin)("max",l.hardMax)("step",1),e.R50("ngModel",l.settings.hardDays)}}let r=(()=>{var _;class g{constructor(h,y,D){this.simpleTrainingService=h,this.modalController=y,this.navController=D,this.hideTiming=!1,this.isModal=!0,this.easyMin=14,this.easyMax=60,this.normalMin=3,this.normalMax=14,this.hardMin=1,this.hardMax=3}ngOnInit(){this.settings={...this.simpleTrainingService.settings},this.isModal=!0}autoSave(){var h=this;return(0,p.A)(function*(){yield h.simpleTrainingService.saveSettings(h.settings)})()}dismiss(){this.isModal?this.modalController.dismiss():this.navController.back()}resetToDefault(){var h=this;return(0,p.A)(function*(){h.settings={easyDays:30,normalDays:7,hardDays:2,displayAnswerDirectly:!1},yield h.autoSave()})()}}return(_=g).\u0275fac=function(h){return new(h||_)(e.rXU(s.c),e.rXU(t.W3),e.rXU(u.q9))},_.\u0275cmp=e.VBU({type:_,selectors:[["app-simple-training-settings"]],inputs:{hideTiming:"hideTiming"},standalone:!1,decls:25,vars:4,consts:[[1,"ion-no-border"],["slot","start"],["defaultHref","/simple-training",4,"ngIf"],["slot","end"],["strong","true",3,"click",4,"ngIf"],[1,"simple-training-settings"],[1,"main-container"],[4,"ngIf"],[1,"settings-list-title"],["lines","none"],["name","eye-outline",1,"list-icon"],["justify","space-between",3,"ngModelChange","ionChange","ngModel"],["button","",3,"click"],["name","refresh-outline",1,"list-icon"],["defaultHref","/simple-training"],["strong","true",3,"click"],["name","time-outline",1,"list-icon"],["slot","end","aria-label","Easy","color","success",1,"setting-range",3,"ngModelChange","ionChange","min","max","step","ngModel"],["slot","end","aria-label","Normal","color","warning",1,"setting-range",3,"ngModelChange","ionChange","min","max","step","ngModel"],["slot","end","aria-label","Hard","color","danger",1,"setting-range",3,"ngModelChange","ionChange","min","max","step","ngModel"]],template:function(h,y){1&h&&(e.j41(0,"ion-header",0)(1,"ion-toolbar")(2,"ion-buttons",1),e.DNE(3,m,1,0,"ion-back-button",2),e.k0s(),e.j41(4,"ion-title"),e.EFF(5,"Settings"),e.k0s(),e.j41(6,"ion-buttons",3),e.DNE(7,f,2,0,"ion-button",4),e.k0s()()(),e.j41(8,"ion-content",5)(9,"div",6),e.DNE(10,c,28,15,"ng-container",7),e.j41(11,"div",8),e.
1EFF(12,"Display"),e.k0s(),e.j41(13,"ion-list",9)(14,"ion-item"),e.nrm(15,"ion-icon",10),e.j41(16,"ion-toggle",11),e.mxI("ngModelChange",function(v){return e.DH7(y.settings.displayAnswerDirectly,v)||(y.settings.displayAnswerDirectly=v),v}),e.bIt("ionChange",function(){return y.autoSave()}),e.EFF(17," Show answer directly "),e.k0s()()(),e.j41(18,"div",8),e.EFF(19,"Actions"),e.k0s(),e.j41(20,"ion-list",9)(21,"ion-item",12),e.bIt("click",function(){return y.resetToDefault()}),e.nrm(22,"ion-icon",13),e.j41(23,"ion-label"),e.EFF(24,"Reset to default"),e.k0s()()()()()),2&h&&(e.R7$(3),e.Y8G("ngIf",!y.isModal),e.R7$(4),e.Y8G("ngIf",y.isModal),e.R7$(3),e.Y8G("ngIf",!y.hideTiming),e.R7$(6),e.R50("ngModel",y.settings.displayAnswerDirectly))},dependencies:[o.bT,i.BC,i.vS,t.Jm,t.QW,t.W9,t.eU,t.iq,t.uz,t.he,t.nf,t.Ob,t.BC,t.BY,t.ai,t.hB,t.su,t.el],styles:["ion-toolbar[_ngcontent-%COMP%]{--background: var(--ion-background-color)}.main-container[_ngcontent-%COMP%]{width:100%;padding-top:30px;overflow-y:scroll}ion-content[_ngcontent-%COMP%]{--background: var(--readle-content-background)}ion-list[_ngcontent-%COMP%]{border-radius:15px!important;margin:10px 20px 20px;background:var(--card-background);overflow:hidden!important;padding:10px}ion-item[_ngcontent-%COMP%]{--background: var(--card-background) !important;--color: var(--readle-font-color-main);--border-color: var(--readle-divider-color);--padding-start: 0;--inner-padding-end: 0;overflow:hidden;cursor:pointer}ion-item[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:600}ion-item[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--ion-color-medium)}ion-item[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{color:var(--readle-font-color-light)}ion-label[_ngcontent-%COMP%]{display:flex!important;align-items:center}.settings-list-title[_ngcontent-%COMP%]{color:var(--readle-font-color-main);font-size:14px;margin-bottom:10px;font-family:var(--font-semibold);margin-left:30px}.settings-list-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--readle-font-color-light);font-family:var(--font-normal);margin-left:12px}.list-icon[_ngcontent-%COMP%]{margin-right:10px}.setting-range[_ngcontent-%COMP%]{width:160px;padding:0}ion-toggle[_ngcontent-%COMP%]{padding-right:0}ion-toggle.toggle-checked[_ngcontent-%COMP%]::part(track){background-color:var(--ion-color-primary)}"]}),g})()},50732(w,E,n){n.d(E,{m:()=>f});var p=n(89204),s=n(58222),e=n(34966),a=n(33900),t=n(84205),u=n(45381),o=n(86057),i=n(36124),m=n(61811);let f=(()=>{var c;class r{constructor(g,l,h,y){this.platform=g,this.utilsService=l,this.purchaseService=h,this.transformCurrencyAmountPipe=y,this.ngUnsubscribe$=new t.B}transform(g){var l=this;return(0,p.A)(function*(){if(!l.platform.is("cordova")){if(!l.utilsService.isWebVersion)return l.defaultReturn(g);{let M;const T=l.purchaseService.getUserCurrency();if(l.purchaseService.webappSelectedPlan===o.Y.Yearly){var h,y;let A=l.purchaseService.webProductYear;A||(A=yield l.purchaseService.webProductYear$.pipe((0,a.Q)(l.ngUnsubscribe$)).toPromise()),l.ngUnsubscribe$.unsubscribe(),M=null===(h=A)||void 0===h?void 0:h.default_price.currency_options[T.toLowerCase()],M||(M=null===(y=A)||void 0===y?void 0:y.default_price.currency_options.usd);let b=g;return b=l.replaceAnualPrice(b,l.transformCurrencyAmountPipe.transform(M.unit_amount)),b=l.replaceMonthlyPrice(b,l.transformCurrencyAmountPipe.transform(M.unit_amount/12)),b}if(l.purchaseService.webappSelectedPlan===o.Y.Monthly){var D,v;let A=l.purchaseService.webProductMonthly;A||(A=yield l.purchaseService.webProductMonthly$.pipe((0,a.Q)(l.ngUnsubscribe$)).toPromise()),l.ngUnsubscribe$.unsubscribe(),M=null===(D=A)||void 0===D?void 0:D.default_price.currency_options[T.toLowerCase()],M||(M=null===(v=A)||void 0===v?void 0:v.default_price.currency_options.usd);let b=g;return b=l.replaceMonthlyPrice(b,l.transformCurrencyAmountPipe.transform(M.unit_amount)),b}if(l.purchaseService.webappSelectedPlan===o.Y.Lifetime){var C,S;let A=l.purchaseService.webProductLifetime;A||(A=yield l.purchaseService.webProductLifetimeSubject.pipe((0,a.Q)(l.ngUnsubscribe$)).toPromise()),l.ngUnsubscribe$.unsubscribe(),M=null===(C=A)||void 0===C?void 0:C.default_price.currency_options[T.toLowerCase()],M||(M=null===(S=A)||void 0===S?void 0:S.default_price.currency_options.usd);let b=g;return b=l.replaceMonthlyPrice(b,l.transformCurrencyAmountPipe.transform(M.unit_amount)),b}}}})()}replaceAnualPrice(g,l){return null==g?void 0:g.replace("[priceAnual]",l)}replaceMonthlyPrice(g,l){return null==g?void 0:g.replace("[priceMonthly]",l)}defaultReturn(g){let l=g;return l=this.replaceAnualPrice(l,"\u20ac 59,99"),l=this.replaceMonthlyPrice(l,"\u20ac 3,99"),l}}return(c=r).\u0275fac=function(g){return new(g||c)(i.rXU(m.OD,16),i.rXU(e.T,16),i.rXU(s.zZ,16),i.rXU(u.I,16))},c.\u0275pipe=i.EJ8({name:"creditCardPurchasePrice",type:c,pure:!0,standalone:!1}),r})()},45661(w,E,n){n.d(E,{V:()=>u,y:()=>o});var p=n(47030),s=n(59510),e=n(20948),a=n(72448),t=n(36124);let u=(()=>{var i;class m{constructor(c,r,_){this.storageService=c,this.storyService=r,this.languageService=_}transform(c,r,_=!1,g=void 0,l,h,y){if(!c||!r||"all"===r){if(_){const D=c.filter(v=>!this.storageService.learnedStories.includes(v._id));return 0===(null==D?void 0:D.length)&&this.storyService.getMoreArticles(this.languageService.origin,{target:{complete:()=>{}}}),this.includeFakeShareItem(D,h)}return this.includeFakeShareItem(c,h)}if(_){const D=c.filter(v=>v.level===r&&!this.storageService.learnedStories.includes(v._id));return 0===(null==D?void 0:D.length)&&this.storyService.getMoreArticles(this.languageService.origin,{target:{complete:()=>{}}}),this.includeFakeShareItem(D,h)}return this.includeFakeShareItem(c.filter(D=>D.level===r),h)}includeFakeShareItem(c,r){if(!c||!r||c.length<5)return c;const g={...c[5],_id:"".concat(c[5]._id,"-share-item"),type:"list-share-item"};return c.toSpliced(5,0,g)}}return(i=m).\u0275fac=function(c){return new(c||i)(t.rXU(p.n,16),t.rXU(s.J,16),t.rXU(e.g,16))},i.\u0275pipe=t.EJ8({name:"levelPipe",type:i,pure:!0,standalone:!1}),m})(),o=(()=>{var i;class m{transform(c,r){return c&&r!==a.ze.ALL?c.filter(_=>_.grammar.level.toLowerCase()===r.toLowerCase()):c}}return(i=m).\u0275fac=function(c){return new(c||i)},i.\u0275pipe=t.EJ8({name:"grammarLevel",type:i,pure:!0,standalone:!1}),m})()},60089(w,E,n){n.d(E,{h:()=>s});var p=n(36124);let s=(()=>{var e;class a{transform(u){return u&&u.replace(/[.,?!]/g,"")}}return(e=a).\u0275fac=function(u){return new(u||e)}
1,e.\u0275pipe=p.EJ8({name:"removePunctuation",type:e,pure:!0,standalone:!1}),a})()},25403(w,E,n){n.d(E,{e:()=>e});var p=n(20948),s=n(36124);let e=(()=>{var a;class t{constructor(o){this.languageService=o}transform(o){var i,m,f,c,r;if(!o.grammar||0===(null===(i=o.grammar)||void 0===i?void 0:i.length)||!o.grammar[0].grammarId)return!1;let _=this.languageService.target;"eng"===_&&(_="en");const g=null===(m=o.grammar[0].grammarId.content)||void 0===m?void 0:m.find(h=>h.language===_);return!!(null===(f=o.grammar[0].grammarId.content)||void 0===f?void 0:f.find(h=>"en"===h.language))||!(!g||""===g.name||""===g.description&&(1===(null===(c=g.contentShort)||void 0===c?void 0:c.length)||0===(null===(r=g.contentShort)||void 0===r?void 0:r.length)))}}return(a=t).\u0275fac=function(o){return new(o||a)(s.rXU(p.g,16))},a.\u0275pipe=s.EJ8({name:"storyShowGrammar",type:a,pure:!0,standalone:!1}),t})()},68914(w,E,n){n.d(E,{a:()=>s});var p=n(36124);let s=(()=>{var e;class a{transform(u,o){let i=90;if(o&&(i=o),u.textMapping){const m=u.textMapping.map(f=>f.word).join(" ");return m&&m.substring(0,i)+"..."}return u.text?u.text.substring(0,i)+"...":""}}return(e=a).\u0275fac=function(u){return new(u||e)},e.\u0275pipe=p.EJ8({name:"textPreview",type:e,pure:!0,standalone:!1}),a})()},74994(w,E,n){n.d(E,{c:()=>i});var p=n(89204),s=n(8512),e=n(13151),a=n(22821),t=n(20948),u=n(66563),o=n(27704);let i=(()=>{var m;class f{constructor(r,_,g){this.sqliteService=r,this.simpleTrainingSqlite=_,this.languageService=g,this.currentStack=[],this.settings={...s.Sw},this.categoryCounts={new:0,hard:0,normal:0,easy:0,due:0},this.languageService.watchOrigin.subscribe(()=>{this.currentStack=[],this.loadCategoryCounts()})}loadSettings(){var r=this;return(0,p.A)(function*(){const _=yield r.sqliteService.getItem(e.cY.
1SIMPLE_TRAINING_EASY_DAYS),g=yield r.sqliteService.getItem(e.cY.SIMPLE_TRAINING_NORMAL_DAYS),l=yield r.sqliteService.getItem(e.cY.SIMPLE_TRAINING_HARD_DAYS),h=yield r.sqliteService.getItem(e.cY.SIMPLE_TRAINING_DISPLAY_ANSWER_DIRECTLY);r.settings={easyDays:null!==_?_:s.Sw.easyDays,normalDays:null!==g?g:s.Sw.normalDays,hardDays:null!==l?l:s.Sw.hardDays,displayAnswerDirectly:null!==h?h:s.Sw.displayAnswerDirectly}})()}saveSettings(r){var _=this;return(0,p.A)(function*(){yield _.sqliteService.setItem(e.cY.SIMPLE_TRAINING_EASY_DAYS,r.easyDays),yield _.sqliteService.setItem(e.cY.SIMPLE_TRAINING_NORMAL_DAYS,r.normalDays),yield _.sqliteService.setItem(e.cY.SIMPLE_TRAINING_HARD_DAYS,r.hardDays),yield _.sqliteService.setItem(e.cY.SIMPLE_TRAINING_DISPLAY_ANSWER_DIRECTLY,r.displayAnswerDirectly),_.settings={...r}})()}loadCategoryCounts(){var r=this;return(0,p.A)(function*(){r.categoryCounts=yield r.simpleTrainingSqlite.getCategoryCounts(r.languageService.origin)})()}buildDueStack(){var r=this;return(0,p.A)(function*(){const _=yield r.simpleTrainingSqlite.readDue(r.languageService.origin);r.currentStack=r.shuffle(_)})()}rateCard(r,_){var g=this;return(0,p.A)(function*(){const l=new Date;switch(_){case s.ee.Easy:{const h=g.addDays(l,g.settings.easyDays);yield g.simpleTrainingSqlite.updateCard(r.id,h,s.h.Easy);break}case s.ee.Normal:{const h=g.addDays(l,g.settings.normalDays);yield g.simpleTrainingSqlite.updateCard(r.id,h,s.h.Normal);break}case s.ee.Hard:{const h=g.addDays(l,g.settings.hardDays);yield g.simpleTrainingSqlite.updateCard(r.id,h,s.h.Hard);break}case s.ee.Again:yield g.simpleTrainingSqlite.updateCard(r.id,l,s.h.Hard),g.currentStack=[...g.currentStack,r]}})()}addCard(r){var _=this;return(0,p.A)(function*(){var g,l;yield _.simpleTrainingSqlite.insertOrReplace({word:r.word,translation:r.translation,word_language:_.languageService.origin,user_language:_.languageService.target,story_id:null!==(g=r.storyId)&&void 0!==g?g:null,sentence:null!==(l=r.sentence)&&void 0!==l?l:[],dueDate:new Date,currentCategory:s.h.New,objectId:r.objectId})})()}removeCard(r){var _=this;return(0,p.A)(function*(){yield _.simpleTrainingSqlite.delete(r),_.currentStack=_.currentStack.filter(g=>g.objectId!==r)})()}getCardsByCategory(r){var _=this;return(0,p.A)(function*(){return _.simpleTrainingSqlite.readByCategory(r,_.languageService.origin)})()}inStack(r){var _=this;return(0,p.A)(function*(){return _.simpleTrainingSqlite.exists(r,_.languageService.origin)})()}loadTrainingObjectIds(){var r=this;return(0,p.A)(function*(){return r.simpleTrainingSqlite.readAllObjectIds(r.languageService.origin)})()}loadTrainingWords(){var r=this;return(0,p.A)(function*(){return r.simpleTrainingSqlite.readAllWords(r.languageService.origin)})()}addDays(r,_){const g=new Date(r);return g.setDate(g.getDate()+_),g}shuffle(r){const _=[...r];for(let g=_.length-1;g>0;g--){const l=Math.floor(Math.random()*(g+1));[_[g],_[l]]=[_[l],_[g]]}return _}}return(m=f).\u0275fac=function(r){return new(r||m)(u.KVO(a.A),u.KVO(o.E),u.KVO(t.g))},m.\u0275prov=u.jDH({token:m,factory:m.\u0275fac,providedIn:"root"}),f})()},45049(w,E,n){n.d(E,{_:()=>s,k:()=>p});var p=function(e){return e.Heavy="HEAVY",e.Medium="MEDIUM",e.Light="LIGHT",e}(p||{}),s=function(e){return e.Success="SUCCESS",e.Warning="WARNING",e.Error="ERROR",e}(s||{})},47115(w,E,n){n.d(E,{_n:()=>s._,dn:()=>e,kn:()=>s.k});var p=n(14070),s=n(45049);const e=(0,p.F3)("Haptics",{web:()=>n.e("node_modules_capacitor_haptics_dist_esm_web_js").then(n.bind(n,86961)).then(a=>new a.HapticsWeb)})},88439(w,E,n){n.d(E,{s3:()=>a});const a=(0,n(14070).F3)("Keyboard")},57160(w,E,n){n.d(E,{c:()=>o});var p=n(20576);const s=typeof window<"u"?window:void 0;let a;typeof document<"u"&&document;const t=(i,m,f)=>{const c=m.startsWith("animation")?(r=i,void 0===a&&(a=void 0===r.style.animationName&&void 0!==r.style.webkitAnimationName?"-webkit-":""),a):"";var r;i.style.setProperty(c+m,f)},u=(i=[],m)=>{if(void 0!==m){const f=Array.isArray(m)?m:[m];return[...i,...f]}return i},o=i=>{let m,f,c,r,_,g,l,h,y,D,v,C=[],S=[],M=[],T=!1,A={},b=[],q=[],ee={},W=0,X=!1,z=!1,N=!0,H=!1,Y=!0,V=!1;const ae=i,ne=[],G=[],Z=[],j=[],R=[],le=[],ce=[],de=[],ue=[],_e=[],U=[],ye="function"==typeof AnimationEffect||void 0!==s&&"function"==typeof s.AnimationEffect,B="function"==typeof Element&&"function"==typeof Element.prototype.animate&&ye,ge=()=>U,ve=(d,P)=>{const O=P.findIndex(I=>I.c===d);O>-1&&P.splice(O,1)},te=(d,P)=>((null!=P&&P.oneTimeCallback?G:ne).push({c:d,o:P}),v),me=()=>{B&&(U.forEach(d=>{d.cancel()}),U.length=0)},re=()=>
1void 0!==_?_:l?l.getFill():"both",J=()=>void 0!==h?h:void 0!==g?g:l?l.getDirection():"normal",oe=()=>X?"linear":void 0!==c?c:l?l.getEasing():"linear",F=()=>z?0:void 0!==y?y:void 0!==f?f:l?l.getDuration():0,ie=()=>void 0!==r?r:l?l.getIterations():1,se=()=>void 0!==D?D:void 0!==m?m:l?l.getDelay():0,Q=()=>{0!==W&&(W--,0===W&&((()=>{ue.forEach(L=>L()),_e.forEach(L=>L());const d=N?1:0,P=b,O=q,I=ee;j.forEach(L=>{const k=L.classList;P.forEach(K=>k.add(K)),O.forEach(K=>k.remove(K));for(const K in I)I.hasOwnProperty(K)&&t(L,K,I[K])}),y=void 0,h=void 0,D=void 0,ne.forEach(L=>L.c(d,v)),G.forEach(L=>L.c(d,v)),G.length=0,Y=!0,N&&(H=!0),N=!0})(),l&&l.animationFinish()))},fe=()=>{(()=>{ce.forEach(I=>I()),de.forEach(I=>I());const d=S,P=M,O=A;j.forEach(I=>{const L=I.classList;d.forEach(k=>L.add(k)),P.forEach(k=>L.remove(k));for(const k in O)O.hasOwnProperty(k)&&t(I,k,O[k])})})(),C.length>0&&B&&(j.forEach(d=>{const P=d.animate(C,{id:ae,delay:se(),duration:F(),easing:oe(),iterations:ie(),fill:re(),direction:J()});P.pause(),U.push(P)}),U.length>0&&(U[0].onfinish=()=>{Q()})),T=!0},$=d=>{d=Math.min(Math.max(d,0),.9999),B&&U.forEach(P=>{P.currentTime=P.effect.getComputedTiming().delay+F()*d,P.pause()})},pe=d=>{U.forEach(P=>{P.effect.updateTiming({delay:se(),duration:F(),easing:oe(),iterations:ie(),fill:re(),direction:J()})}),void 0!==d&&$(d)},x=(d=!1,P=!0,O)=>(d&&R.forEach(I=>{I.update(d,P,O)}),B&&pe(O),v),he=()=>{T&&(B?U.forEach(d=>{d.pause()}):j.forEach(d=>{t(d,"animation-play-state","paused")}),V=!0)},Ee=d=>new Promise(P=>{null!=d&&d.sync&&(z=!0,te(()=>z=!1,{oneTimeCallback:!0})),T||fe(),H&&(B&&($(0),pe()),H=!1),Y&&(W=R.length+1,Y=!1);const O=()=>{ve(I,G),P()},I=()=>{ve(O,Z),P()};te(I,{oneTimeCallback:!0}),Z.push({c:O,o:{oneTimeCallback:!0}}),R.forEach(L=>{L.play()}),B?(U.forEach(L=>{L.play()}),0!==C.length&&0!==j.length||Q()):Q(),V=!1}),Me=(d,P)=>{const O=C[0];return void 0===O||void 0!==O.offset&&0!==O.offset?C=[{offset:0,[d]:P},...C]:O[d]=P,v};return v={parentAnimation:l,elements:j,childAnimations:R,id:ae,animationFinish:Q,from:Me,to:(d,P)=>{const O=C[C.length-1];return void 0===O||void 0!==O.offset&&1!==O.offset?C=[...C,{offset:1,[d]:P}]:O[d]=P,v},fromTo:(d,P,O)=>Me(d,P).to(d,O),parent:d=>(l=d,v),play:Ee,pause:()=>(R.forEach(d=>{d.pause()}),he(),v),stop:()=>{R.forEach(d=>{d.stop()}),T&&(me(),T=!1),X=!1,z=!1,Y=!0,h=void 0,y=void 0,D=void 0,W=0,H=!1,N=!0,V=!1,Z.forEach(d=>d.c(0,v)),Z.length=0},destroy:d=>{return R.forEach(P=>{P.destroy(d)}),P=d,me(),P&&(le.forEach(d=>{null!=d&&d.parentNode&&d.parentNode.removeChild(d)}),le.length=0),j.length=0,R.length=0,C.length=0,ne.length=0,G.length=0,T=!1,Y=!0,v;var P},keyframes:d=>{const P=C!==d;return C=d,P&&(O=C,B&&ge().forEach(I=>{const L=I.effect;if(L.setKeyframes)L.setKeyframes(O);
1else{const k=new KeyframeEffect(L.target,O,L.getTiming());I.effect=k}})),v;var O},addAnimation:d=>{if(null!=d)if(Array.isArray(d))for(const P of d)P.parent(v),R.push(P);else d.parent(v),R.push(d);return v},addElement:d=>{if(null!=d)if(1===d.nodeType)j.push(d);else if(d.length>=0)for(let P=0;P<d.length;P++)j.push(d[P]);else(0,p.j)("createAnimation - Invalid addElement value.");return v},update:x,fill:d=>(_=d,x(!0),v),direction:d=>(g=d,x(!0),v),iterations:d=>(r=d,x(!0),v),duration:d=>(B||0!==d||(d=1),f=d,x(!0),v),easing:d=>(c=d,x(!0),v),delay:d=>(m=d,x(!0),v),getWebAnimations:ge,getKeyframes:()=>C,getFill:re,getDirection:J,getDelay:se,getIterations:ie,getEasing:oe,getDuration:F,afterAddRead:d=>(ue.push(d),v),afterAddWrite:d=>(_e.push(d),v),afterClearStyles:(d=[])=>{for(const P of d)ee[P]="";return v},afterStyles:(d={})=>(ee=d,v),afterRemoveClass:d=>(q=u(q,d),v),afterAddClass:d=>(b=u(b,d),v),beforeAddRead:d=>(ce.push(d),v),beforeAddWrite:d=>(de.push(d),v),beforeClearStyles:(d=[])=>{for(const P of d)A[P]="";return v},beforeStyles:(d={})=>(A=d,v),beforeRemoveClass:d=>(M=u(M,d),v),beforeAddClass:d=>(S=u(S,d),v),onFinish:te,isRunning:()=>0!==W&&!V,progressStart:(d=!1,P)=>
1(R.forEach(O=>{O.progressStart(d,P)}),he(),X=d,T||fe(),x(!1,!0,P),v),progressStep:d=>(R.forEach(P=>{P.progressStep(d)}),$(d),v),progressEnd:(d,P,O)=>(X=!1,R.forEach(I=>{I.progressEnd(d,P,O)}),void 0!==O&&(y=O),H=!1,N=!0,0===d?(h="reverse"===J()?"normal":"reverse","reverse"===h&&(N=!1),B?(x(),$(1-P)):(D=(1-P)*F()*-1,x(!1,!1))):1===d&&(B?(x(),$(P)):(D=P*F()*-1,x(!1,!1))),void 0===d||l||Ee(),v)}}},30666(w,E,n){n.d(E,{c:()=>a});var p=n(28026),s=n(8235),e=n(17584);const a=(t,u)=>{let o,i;const m=(r,_,g)=>{if(typeof document>"u")return;const l=document.elementFromPoint(r,_);l&&u(l)&&!l.disabled?l!==o&&(c(),f(l,g)):c()},f=(r,_)=>{o=r,i||(i=o);const g=o;(0,p.w)(()=>g.classList.add("ion-activated")),_()},c=(r=!1)=>{if(!o)return;const _=o;(0,p.w)(()=>_.classList.remove("ion-activated")),r&&i!==o&&o.click(),o=void 0};return(0,e.createGesture)({el:t,gestureName:"buttonActiveDrag",threshold:0,onStart:r=>m(r.currentX,r.currentY,s.b),onMove:r=>m(r.currentX,r.currentY,s.a),onEnd:()=>{c(!0),(0,s.h)(),i=void 0}})}},25051(w,E,n){n.d(E,{g:()=>s});var p=n(10575);const s=()=>
1{if(void 0!==p.w)return p.w.Capacitor}},39929(w,E,n){n.d(E,{c:()=>p,i:()=>s});const p=(e,a,t)=>"function"==typeof t?t(e,a):"string"==typeof t?e[t]===a[t]:Array.isArray(a)?a.includes(e):e===a,s=(e,a,t)=>void 0!==e&&(Array.isArray(e)?e.some(u=>p(u,a,t)):p(e,a,t))},239(w,E,n){n.d(E,{g:()=>p});const p=(u,o,i,m,f)=>e(u[1],o[1],i[1],m[1],f).map(c=>s(u[0],o[0],i[0],m[0],c)),s=(u,o,i,m,f)=>f*(3*o*Math.pow(f-1,2)+f*(-3*i*f+3*i+m*f))-u*Math.pow(f-1,3),e=(u,o,i,m,f)=>t((m-=f)-3*(i-=f)+3*(o-=f)-(u-=f),3*i-6*o+3*u,3*o-3*u,u).filter(r=>r>=0&&r<=1),t=(u,o,i,m)=>{if(0===u)return((u,o,i)=>{const m=o*o-4*u*i;return m<0?[]:[(-o+Math.sqrt(m))/(2*u),(-o-Math.sqrt(m))/(2*u)]})(o,i,m);const f=(3*(i/=u)-(o/=u)*o)/3,c=(2*o*o*o-9*o*i+27*(m/=u))/27;if(0===f)return[Math.pow(-c,1/3)];if(0===c)return[Math.sqrt(-f),-Math.sqrt(-f)];const r=Math.pow(c/2,2)+Math.pow(f/3,3);if(0===r)return[Math.pow(c/2,.5)-o/3];if(r>0)return[Math.pow(-c/2+Math.sqrt(r),1/3)-Math.pow(c/2+Math.sqrt(r),1/3)-o/3];const _=Math.sqrt(Math.pow(-f/3,3)),g=Math.acos(-c/(2*Math.sqrt(Math.pow(-f/3,3)))),l=2*Math.pow(_,1/3);return[l*Math.cos(g/3)-o/3,l*Math.cos((g+2*Math.PI)/3)-o/3,l*Math.cos((g+4*Math.PI)/3)-o/3]}},72853(w,E,n){n.d(E,{startFocusVisible:()=>a});const p="ion-focused",e=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],a=t=>{let u=[],o=!0;const i=t?t.shadowRoot:document,m=t||document.body,f=h=>{u.forEach(y=>y.classList.remove(p)),h.forEach(y=>y.classList.add(p)),u=h},c=()=>{o=!1,f([])},r=h=>{o=e.includes(h.key),o||f([])},_=h=>{if(o&&void 0!==h.composedPath){const y=h.composedPath().filter(D=>!!D.classList&&D.classList.contains("ion-focusable"));f(y)}},g=()=>{i.activeElement===m&&f([])};return i.addEventListener("keydown",r),i.addEventListener("focusin",_),i.addEventListener("focusout",g),i.addEventListener("touchstart",c,{passive:!0}),i.addEventListener("mousedown",c),{destroy:()=>{i.removeEventListener("keydown",r),i.removeEventListener("focusin",_),i.removeEventListener("focusout",g),i.removeEventListener("touchstart",c),i.removeEventListener("mousedown",c)},setFocus:f}}},8235(w,E,n){n.d(E,{I:()=>s,a:()=>i,b:()=>o,c:()=>u,d:()=>f,h:()=>m});var p=n(25051),s=function(c){return c.Heavy="HEAVY",c.Medium="MEDIUM",c.Light="LIGHT",c}(s||{});const a={getEngine(){const c=(0,p.g)();if(null!=c&&c.isPluginAvailable("Haptics"))return c.Plugins.Haptics},available(){if(!this.getEngine())return!1;const r=(0,p.g)();return"web"!==(null==r?void 0:r.getPlatform())||typeof navigator<"u"&&void 0!==navigator.vibrate},impact(c){const r=this.getEngine();r&&r.impact({style:c.style})},notification(c){const r=this.getEngine();r&&r.notification({type:c.type})},selection(){this.impact({style:s.Light})},selectionStart(){const c=this.getEngine();c&&c.selectionStart()},selectionChanged(){const c=this.getEngine();c&&c.selectionChanged()},selectionEnd(){const c=this.getEngine();c&&c.selectionEnd()}},t=()=>a.available(),u=()=>{t()&&a.selection()},o=()=>{t()&&a.selectionStart()},i=()=>{t()&&a.selectionChanged()},m=()=>{t()&&a.selectionEnd()},f=c=>{t()&&a.impact(c)}},61839(w,E,n){n.d(E,{I:()=>u,a:()=>c,b:()=>f,c:()=>t,d:()=>y,e:()=>r,f:()=>_,g:()=>m,h:()=>l,i:()=>i,p:()=>h,r:()=>D,s:()=>g});var p=n(89204),s=n(98169),e=n(28026);const t="ion-content",u=".ion-content-scroll-host",o="".concat(t,", ").concat(u),i=v=>"ION-CONTENT"===v.tagName,m=function(){var v=(0,p.A)(function*(C){return i(C)?(yield new Promise(S=>(0,s.c)(C,S)),C.getScrollElement()):C});return function(S){return v.apply(this,arguments)}}(),f=v=>v.querySelector(u)||v.querySelector(o),c=v=>v.closest(o),r=v=>v.querySelector(u),_=v=>{if(i(v))return v.querySelector("ion-refresher");const C=v.closest(t);if(null===C)return null;const S=r(C);return null!==S&&S.contains(v)?C.querySelector("ion-refresher"):null},g=(v,C)=>i(v)?v.scrollToTop(C):Promise.resolve(v.scrollTo({top:0,left:0,behavior:"smooth"})),l=(v,C,S,M)=>i(v)?v.scrollByPoint(C,S,M):Promise.resolve(v.scrollBy({top:S,left:C,behavior:M>0?"smooth":"auto"})),h=v=>(0,e.t)(v,t),y=v=>{if(i(v)){const S=v.scrollY;return v.scrollY=!1,S}return v.style.setProperty("overflow","hidden"),!0},D=(v,C)=>{i(v)?v.scrollY=C:v.style.removeProperty("overflow")}},27594(w,E,n){n.d(E,{a:()=>p,b:()=>_,c:()=>o,d:()=>g,e:()=>b,f:()=>u,g:()=>l,h:()=>s,i:()=>e,j:()=>M,k:()=>T,l:()=>i,m:()=>c,n:()=>h,o:()=>t,p:()=>f,q:()=>a,r:()=>S,s:()=>A,t:()=>r,u:()=>v,v:()=>C,w:()=>m,x:()=>D,y:()=>y});const p="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M244 400 100 256l144-144M120 256h292' stroke-linecap='square' stroke-miterlimit='10' stroke-width='48px' class='ionicon-fill-none'/></svg>
1",s="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m112 268 144 144 144-144M256 392V100' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",e="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M368 64 144 256l224 192z'/></svg>",a="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m64 144 192 224 192-224z'/></svg>",t="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M448 368 256 144 64 368z'/></svg>",u="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M416 128 192 384l-96-96' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",o="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M328 112 184 256l144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",i="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m112 184 144 144 144-144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",m="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='m136 208 120-104 120 104M136 304l120 104 120-104' class='ionicon-fill-none'/></svg>",f="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m184 112 144 144-144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",c="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m184 112 144 144-144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",r="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34Z'/></svg>",_="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256Z'/></svg>",g="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256z'/></svg>",l="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",h="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>",y="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='64'/><path d='M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 0 0-.1-34.76M256 352a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96'/></svg>",D="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448M248 315.85l-51.79-51.79a2 2 0 0 0-3.39 1.69 64.11 64.11 0 0 0 53.49 53.49 2 2 0 0 0 1.69-3.39M264 196.15 315.87 248a2 2 0 0 0 3.4-1.69 64.13 64.13 0 0 0-53.55-53.55 2 2 0 0 0-1.72 3.39'/><path d='M491 273.36a32.2 32.2 0 0 0-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.5 226.5 0 0 0-71.82 11.79 4 4 0 0 0-1.56 6.63l47.24 47.24a4 4 0 0 0 3.82 1.05 96 96 0 0 1 116 116 4 4 0 0 0 1.05 3.81l67.95 68a4 4 0 0 0 5.4.24 343.8 343.8 0 0 0 67.24-77.4M256 352a96 96 0 0 1-93.3-118.63 4 4 0 0 0-1.05-3.81l-66.84-66.87a4 4 0 0 0-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 25
15.68 416a238.2 238.2 0 0 0 72.64-11.55 4 4 0 0 0 1.61-6.64l-47.47-47.46a4 4 0 0 0-3.81-1.05A96 96 0 0 1 256 352'/></svg>",v="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M80 160h352M80 256h352M80 352h352' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>",C="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M64 384h384v-42.67H64Zm0-106.67h384v-42.66H64ZM64 128v42.67h384V128Z'/></svg>",S="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M400 256H112' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",M="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M96 256h320M96 176h320M96 336h320' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",T="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M118 304h276M118 208h276' stroke-linecap='square' stroke-linejoin='round' stroke-width='44px' class='ionicon-fill-none'/></svg>",A="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64Z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path d='M338.29 338.29 448 448' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>",b="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M464 428 339.92 303.9a160.48 160.48 0 0 0 30.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0 0 94.58-30.72L428 464ZM209.32 319.69a110.38 110.38 0 1 1 110.37-110.37 110.5 110.5 0 0 1-110.37 110.37'/></svg>"},71528(w,E,n){n.d(E,{c:()=>a,g:()=>t});var p=n(10575),s=n(98169),e=n(28026);const a=(o,i,m)=>{let f,c;if(void 0!==p.w&&"MutationObserver"in p.w){const l=Array.isArray(i)?i:[i];f=new MutationObserver(h=>{for(const y of h)for(const D of y.addedNodes)if(D.nodeType===Node.ELEMENT_NODE&&l.includes(D.slot))return m(),void(0,s.r)(()=>r(D))}),f.observe(o,{childList:!0,subtree:!0})}const r=l=>{var h;c&&(c.disconnect(),c=void 0),c=new MutationObserver(y=>{m();for(const D of y)for(const v of D.removedNodes)v.nodeType===Node.ELEMENT_NODE&&v.slot===i&&g()}),c.observe(null!==(h=l.parentElement)&&void 0!==h?h:l,{subtree:!0,childList:!0})},g=()=>{c&&(c.disconnect(),c=void 0)};return{destroy:()=>{f&&(f.disconnect(),f=void 0),g()}}},t=(o,i,m)=>{const f=null==o?0:o.toString().length,c=u(f,i);if(void 0===m)return c;try{return m(f,i)}catch(r){return(0,e.j)("[ion-input] - Exception in provided `counterFormatter`:",r),c}},u=(o,i)=>"".concat(o," / ").concat(i)},19424(w,E,n){n.d(E,{c:()=>s}),n(28026);const s=(e,a,t=["item-multiple-inputs"])=>{const u=e.closest("ion-item");if(!u||typeof MutationObserver>"u")return;const o=()=>t.map(f=>u.classList.contains(f)).join(",");let i=o();const m=new MutationObserver(()=>{const f=o();f!==i&&(i=f,a())});return m.observe(u,{attributes:!0,attributeFilter:["class"]}),m}},2954(w,E,n){n.d(E,{K:()=>a,a:()=>e});var p=n(25051),s=function(t){return t.Unimplemented="UNIMPLEMENTED",t.Unavailable="UNAVAILABLE",t}(s||{}),e=function(t){return t.Body="body",t.Ionic="ionic",t.Native="native",t.None="none",t}(e||{});const a={getEngine(){const t=(0,p.g)();if(null!=t&&t.isPluginAvailable("Keyboard"))return t.Plugins.Keyboard},getResizeMode(){const t=this.getEngine();return null!=t&&t.getResizeMode?t.getResizeMode().catch(u=>{if(u.code!==s.Unimplemented)throw u}):Promise.resolve(void 0)}}},17387(w,E,n){n.d(E,{c:()=>u});var p=n(89204),s=n(10575),e=n(2954);const a=o=>{if(void 0===s.d||o===e.a.None||void 0===o)return null;const i=s.d.querySelector("ion-app");return null!=i?i:s.d.body},t=o=>{const i=a(o);return null===i?0:i.clientHeight},u=function(){var o=(0,p.A)(function*(i){let m,f,c,r;const _=function(){var D=(0,p.A)(function*(){const v=yield e.K.getResizeMode(),C=void 0===v?void 0:v.mode;m=()=>{void 0===r&&(r=t(C)),c=!0,g(c,C)},f=()=>{c=!1,g(c,C)},null==s.w||s.w.addEventListener("keyboardWillShow",m),null==s.w||s.w.addEventListener("keyboardWillHide",f)});return function(){return D.apply(this,arguments)}}(),g=(D,v)=>{i&&i(D,l(v))},l=D=>{if(0===r||r===t(D))return;const v=a(D);return null!==v?new Promise(C=>{const M=new ResizeObserver(()=>{v.clientHeight===r&&(M.disconnect(),C())});M.observe(v)}):void 0};return yield _(),{init:_,destroy:()=>{null==s.w||s.w.removeEventListener("keyboardWillShow",m),null==s.w||s.w.removeEventListener("keyboardWillHide",f),m=f=void 0},isKeyboardVisible:()=>c}});return function(m){return o.apply(this,arguments)}}()},24753(w,E,n){n.d(E,{Z1:()=>a,startKeyboardAssist:()=>c});var p=n(2954);n(25051),n(10575);const a="ionKeyboardDidShow";let o={},i={},m=!1;const c=M=>{if(p.K.getEngine())r(M);
1else{if(!M.visualViewport)return;i=S(M.visualViewport),M.visualViewport.onresize=()=>{C(M),l()||h(M)?_(M):y(M)&&g(M)}}},r=M=>{M.addEventListener("keyboardDidShow",T=>_(M,T)),M.addEventListener("keyboardDidHide",()=>g(M))},_=(M,T)=>{D(M,T),m=!0},g=M=>{v(M),m=!1},l=()=>!m&&o.width===i.width&&(o.height-i.height)*i.scale>150,h=M=>m&&!y(M),y=M=>m&&i.height===M.innerHeight,D=(M,T)=>{const b=new CustomEvent(a,{detail:{keyboardHeight:T?T.keyboardHeight:M.innerHeight-i.height}});M.dispatchEvent(b)},v=M=>{const T=new CustomEvent("ionKeyboardDidHide");M.dispatchEvent(T)},C=M=>{o=Object.assign({},i),i=S(M.visualViewport)},S=M=>({width:Math.round(M.width),height:Math.round(M.height),offsetTop:M.offsetTop,offsetLeft:M.offsetLeft,pageTop:M.pageTop,pageLeft:M.pageLeft,scale:M.scale})},92377(w,E,n){n.d(E,{c:()=>s});var p=n(89204);const s=()=>{let e;return{lock:function(){var t=(0,p.A)(function*(){const u=e;let o;return e=new Promise(i=>o=i),void 0!==u&&(yield u),o});return function(){return t.apply(this,arguments)}}()}}},26283(w,E,n){n.d(E,{c:()=>e});var p=n(10575),s=n(98169);const e=(a,t,u)=>{let o;const i=()=>!(void 0===t()||void 0!==a.label||null===u()),f=()=>{const r=t();if(void 0===r)return;if(!i())return void r.style.removeProperty("width");const _=u().scrollWidth;if(0===_&&null===r.offsetParent&&void 0!==p.w&&"IntersectionObserver"in p.w){if(void 0!==o)return;const g=o=new IntersectionObserver(l=>{1===l[0].intersectionRatio&&(f(),g.disconnect(),o=void 0)},{threshold:.01,root:a});return void g.observe(r)}r.style.setProperty("width","".concat(.75*_,"px"))};return{calculateNotchWidth:()=>{i()&&(0,s.r)(()=>{f()})},destroy:()=>{o&&(o.disconnect(),o=void 0)}}}},70787(w,E,n){n.d(E,{S:()=>s});const s={bubbles:{dur:1e3,circles:9,fn:(e,a,t)=>{const u="".concat(e*a/t-e,"ms"),o=2*Math.PI*a/t;return{r:5,style:{top:"".concat(32*Math.sin(o),"%"),left:"".concat(32*Math.cos(o),"%"),"animation-delay":u}}}},circles:{dur:1e3,circles:8,fn:(e,a,t)=>{const u=a/t,o="".concat(e*u-e,"ms"),i=2*Math.PI*u;return{r:5,style:{top:"".concat(32*Math.sin(i),"%"),left:"".concat(32*Math.cos(i),"%"),"animation-delay":o}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(e,a)=>{const t=-110*a+"ms";return{r:6,style:{left:"".concat(32-32*a,"%"),"animation-delay":t}}}},lines:{dur:1e3,lines:8,fn:(e,a,t)=>({y1:14,y2:26,style:{transform:"rotate(".concat(360/t*a+(a<t/2?180:-180),"deg)"),"animation-delay":"".concat(e*a/t-e,"ms")}})},"lines-small":{dur:1e3,lines:8,fn:(e,a,t)=>({y1:12,y2:20,style:{transform:"rotate(".concat(360/t*a+(a<t/2?180:-180),"deg)"),"animation-delay":"".concat(e*a/t-e,"ms")}})},"lines-sharp":{dur:1e3,lines:12,fn:(e,a,t)=>({y1:17,y2:29,style:{transform:"rotate(".concat(30*a+(a<6?180:-180),"deg)"),"animation-delay":"".concat(e*a/t-e,"ms")}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(e,a,t)=>({y1:12,y2:20,style:{transform:"rotate(".concat(30*a+(a<6?180:-180),"deg)"),"animation-delay":"".concat(e*a/t-e,"ms")}})}}},79755(w,E,n){n.d(E,{c:()=>p});const p=s=>{const e=s.classList.contains("ion-touched"),a=s.classList.contains("ion-invalid");return e&&a}},4468(w,E,n){n.d(E,{w:()=>p});const p=(a,t,u)=>{if(typeof MutationObserver>"u")return;const o=new MutationObserver(i=>{u(s(i,t))});return o.observe(a,{childList:!0,subtree:!0}),o},s=(a,t)=>{let u;return a.forEach(o=>{for(let i=0;i<o.addedNodes.length;i++)u=e(o.addedNodes[i],t)||u}),u},e=(a,t)=>{if(1!==a.nodeType)return;const u=a;return(u.tagName===t.toUpperCase()?[u]:Array.from(u.querySelectorAll(t))).find(i=>i.value===u.value)}}}]); 2//# sourceMappingURL=common.f3075ae69740cf59.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.