-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.6176447e4cd1b469.js
1 lines (1 loc) · 16.5 KB
/
common.6176447e4cd1b469.js
1
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8592],{1320:(D,p,v)=>{v.d(p,{c:()=>c});var h=v(1308),g=v(7864),u=v(1898);const c=(r,n)=>{let e,t;const s=(a,w,f)=>{if(typeof document>"u")return;const _=document.elementFromPoint(a,w);_&&n(_)?_!==e&&(l(),i(_,f)):l()},i=(a,w)=>{e=a,t||(t=e);const f=e;(0,h.c)(()=>f.classList.add("ion-activated")),w()},l=(a=!1)=>{if(!e)return;const w=e;(0,h.c)(()=>w.classList.remove("ion-activated")),a&&t!==e&&e.click(),e=void 0};return(0,u.createGesture)({el:r,gestureName:"buttonActiveDrag",threshold:0,onStart:a=>s(a.currentX,a.currentY,g.a),onMove:a=>s(a.currentX,a.currentY,g.b),onEnd:()=>{l(!0),(0,g.h)(),t=void 0}})}},2225:(D,p,v)=>{v.d(p,{g:()=>h});const h=(n,e,t,s,i)=>u(n[1],e[1],t[1],s[1],i).map(l=>g(n[0],e[0],t[0],s[0],l)),g=(n,e,t,s,i)=>i*(3*e*Math.pow(i-1,2)+i*(-3*t*i+3*t+s*i))-n*Math.pow(i-1,3),u=(n,e,t,s,i)=>r((s-=i)-3*(t-=i)+3*(e-=i)-(n-=i),3*t-6*e+3*n,3*e-3*n,n).filter(a=>a>=0&&a<=1),r=(n,e,t,s)=>{if(0===n)return((n,e,t)=>{const s=e*e-4*n*t;return s<0?[]:[(-e+Math.sqrt(s))/(2*n),(-e-Math.sqrt(s))/(2*n)]})(e,t,s);const i=(3*(t/=n)-(e/=n)*e)/3,l=(2*e*e*e-9*e*t+27*(s/=n))/27;if(0===i)return[Math.pow(-l,1/3)];if(0===l)return[Math.sqrt(-i),-Math.sqrt(-i)];const a=Math.pow(l/2,2)+Math.pow(i/3,3);if(0===a)return[Math.pow(l/2,.5)-e/3];if(a>0)return[Math.pow(-l/2+Math.sqrt(a),1/3)-Math.pow(l/2+Math.sqrt(a),1/3)-e/3];const w=Math.sqrt(Math.pow(-i/3,3)),f=Math.acos(-l/(2*Math.sqrt(Math.pow(-i/3,3)))),_=2*Math.pow(w,1/3);return[_*Math.cos(f/3)-e/3,_*Math.cos((f+2*Math.PI)/3)-e/3,_*Math.cos((f+4*Math.PI)/3)-e/3]}},5062:(D,p,v)=>{v.d(p,{i:()=>h});const h=g=>g&&""!==g.dir?"rtl"===g.dir.toLowerCase():"rtl"===document?.dir.toLowerCase()},6602:(D,p,v)=>{v.r(p),v.d(p,{startFocusVisible:()=>c});const h="ion-focused",u=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],c=r=>{let n=[],e=!0;const t=r?r.shadowRoot:document,s=r||document.body,i=E=>{n.forEach(d=>d.classList.remove(h)),E.forEach(d=>d.classList.add(h)),n=E},l=()=>{e=!1,i([])},a=E=>{e=u.includes(E.key),e||i([])},w=E=>{if(e&&void 0!==E.composedPath){const d=E.composedPath().filter(m=>!!m.classList&&m.classList.contains("ion-focusable"));i(d)}},f=()=>{t.activeElement===s&&i([])};return t.addEventListener("keydown",a),t.addEventListener("focusin",w),t.addEventListener("focusout",f),t.addEventListener("touchstart",l),t.addEventListener("mousedown",l),{destroy:()=>{t.removeEventListener("keydown",a),t.removeEventListener("focusin",w),t.removeEventListener("focusout",f),t.removeEventListener("touchstart",l),t.removeEventListener("mousedown",l)},setFocus:i}}},7626:(D,p,v)=>{v.d(p,{C:()=>r,a:()=>u,d:()=>c});var h=v(5861),g=v(5730);const u=function(){var n=(0,h.Z)(function*(e,t,s,i,l,a){var w;if(e)return e.attachViewToDom(t,s,l,i);if(!(a||"string"==typeof s||s instanceof HTMLElement))throw new Error("framework delegate is missing");const f="string"==typeof s?null===(w=t.ownerDocument)||void 0===w?void 0:w.createElement(s):s;return i&&i.forEach(_=>f.classList.add(_)),l&&Object.assign(f,l),t.appendChild(f),yield new Promise(_=>(0,g.c)(f,_)),f});return function(t,s,i,l,a,w){return n.apply(this,arguments)}}(),c=(n,e)=>{if(e){if(n)return n.removeViewFromDom(e.parentElement,e);e.remove()}return Promise.resolve()},r=()=>{let n,e;return{attachViewToDom:function(){var i=(0,h.Z)(function*(l,a,w={},f=[]){var _,E;if(n=l,a){const m="string"==typeof a?null===(_=n.ownerDocument)||void 0===_?void 0:_.createElement(a):a;f.forEach(o=>m.classList.add(o)),Object.assign(m,w),n.appendChild(m),yield new Promise(o=>(0,g.c)(m,o))}else if(n.children.length>0&&!n.children[0].classList.contains("ion-delegate-host")){const o=null===(E=n.ownerDocument)||void 0===E?void 0:E.createElement("div");o.classList.add("ion-delegate-host"),f.forEach(y=>o.classList.add(y)),o.append(...n.children),n.appendChild(o)}const d=document.querySelector("ion-app")||document.body;return e=document.createComment("ionic teleport"),n.parentNode.insertBefore(e,n),d.appendChild(n),n});return function(a,w){return i.apply(this,arguments)}}(),removeViewFromDom:()=>(n&&e&&(e.parentNode.insertBefore(n,e),e.remove()),Promise.resolve())}}},7864:(D,p,v)=>{v.d(p,{a:()=>c,b:()=>r,c:()=>u,d:()=>e,h:()=>n});const h={getEngine(){var t;const s=window;return s.TapticEngine||(null===(t=s.Capacitor)||void 0===t?void 0:t.isPluginAvailable("Haptics"))&&s.Capacitor.Plugins.Haptics},available(){var t;const s=window;return!!this.getEngine()&&("web"!==(null===(t=s.Capacitor)||void 0===t?void 0:t.getPlatform())||typeof navigator<"u"&&void 0!==navigator.vibrate)},isCordova:()=>!!window.TapticEngine,isCapacitor:()=>!!window.Capacitor,impact(t){const s=this.getEngine();if(!s)return;const i=this.isCapacitor()?t.style.toUpperCase():t.style;s.impact({style:i})},notification(t){const s=this.getEngine();if(!s)return;const i=this.isCapacitor()?t.style.toUpperCase():t.style;s.notification({style:i})},selection(){this.impact({style:"light"})},selectionStart(){const t=this.getEngine();t&&(this.isCapacitor()?t.selectionStart():t.gestureSelectionStart())},selectionChanged(){const t=this.getEngine();t&&(this.isCapacitor()?t.selectionChanged():t.gestureSelectionChanged())},selectionEnd(){const t=this.getEngine();t&&(this.isCapacitor()?t.selectionEnd():t.gestureSelectionEnd())}},g=()=>h.available(),u=()=>{g()&&h.selection()},c=()=>{g()&&h.selectionStart()},r=()=>{g()&&h.selectionChanged()},n=()=>{g()&&h.selectionEnd()},e=t=>{g()&&h.impact(t)}},9582:(D,p,v)=>{v.d(p,{a:()=>h,b:()=>a,c:()=>e,d:()=>w,e:()=>C,f:()=>n,g:()=>f,h:()=>u,i:()=>g,j:()=>o,k:()=>y,l:()=>t,m:()=>i,n:()=>_,o:()=>s,p:()=>r,q:()=>c,r:()=>m,s:()=>M,t:()=>l,u:()=>E,v:()=>d});const h="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>",g="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>",u="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>",c="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 144l192 224 192-224H64z'/></svg>",r="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M448 368L256 144 64 368h384z'/></svg>",n="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M416 128L192 384l-96-96' class='ionicon-fill-none ionicon-stroke-width'/></svg>",e="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>",t="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>",s="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>",i="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>",l="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>",a="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z'/></svg>",w="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M400 145.49L366.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 256 400 145.49z'/></svg>",f="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",_="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>",E="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>",d="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 384h384v-42.67H64zm0-106.67h384v-42.66H64zM64 128v42.67h384V128z'/></svg>",m="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M400 256H112' class='ionicon-fill-none ionicon-stroke-width'/></svg>",o="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M96 256h320M96 176h320M96 336h320' class='ionicon-fill-none ionicon-stroke-width'/></svg>",y="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-linejoin='round' stroke-width='44' d='M118 304h276M118 208h276' class='ionicon-fill-none'/></svg>",M="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-miterlimit='10' d='M338.29 338.29L448 448' class='ionicon-fill-none ionicon-stroke-width'/></svg>",C="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M464 428L339.92 303.9a160.48 160.48 0 0030.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 0094.58-30.72L428 464zM209.32 319.69a110.38 110.38 0 11110.37-110.37 110.5 110.5 0 01-110.37 110.37z'/></svg>"},8416:(D,p,v)=>{v.d(p,{I:()=>r,a:()=>i,b:()=>n,c:()=>w,d:()=>_,f:()=>l,g:()=>s,i:()=>t,p:()=>f,r:()=>E,s:()=>a});var h=v(5861),g=v(5730),u=v(4147);const r="ion-content",n=".ion-content-scroll-host",e=`${r}, ${n}`,t=d=>"ION-CONTENT"===d.tagName,s=function(){var d=(0,h.Z)(function*(m){return t(m)?(yield new Promise(o=>(0,g.c)(m,o)),m.getScrollElement()):m});return function(o){return d.apply(this,arguments)}}(),i=d=>d.querySelector(n)||d.querySelector(e),l=d=>d.closest(e),a=(d,m)=>t(d)?d.scrollToTop(m):Promise.resolve(d.scrollTo({top:0,left:0,behavior:m>0?"smooth":"auto"})),w=(d,m,o,y)=>t(d)?d.scrollByPoint(m,o,y):Promise.resolve(d.scrollBy({top:o,left:m,behavior:y>0?"smooth":"auto"})),f=d=>(0,u.a)(d,r),_=d=>{if(t(d)){const o=d.scrollY;return d.scrollY=!1,o}return d.style.setProperty("overflow","hidden"),!0},E=(d,m)=>{t(d)?d.scrollY=m:d.style.removeProperty("overflow")}},9:(D,p,v)=>{v.d(p,{s:()=>h});const h=t=>{try{if(t instanceof e)return t.value;if(!c()||"string"!=typeof t||""===t)return t;const s=document.createDocumentFragment(),i=document.createElement("div");s.appendChild(i),i.innerHTML=t,n.forEach(f=>{const _=s.querySelectorAll(f);for(let E=_.length-1;E>=0;E--){const d=_[E];d.parentNode?d.parentNode.removeChild(d):s.removeChild(d);const m=u(d);for(let o=0;o<m.length;o++)g(m[o])}});const l=u(s);for(let f=0;f<l.length;f++)g(l[f]);const a=document.createElement("div");a.appendChild(s);const w=a.querySelector("div");return null!==w?w.innerHTML:a.innerHTML}catch(s){return console.error(s),""}},g=t=>{if(t.nodeType&&1!==t.nodeType)return;for(let i=t.attributes.length-1;i>=0;i--){const l=t.attributes.item(i),a=l.name;if(!r.includes(a.toLowerCase())){t.removeAttribute(a);continue}const w=l.value;null!=w&&w.toLowerCase().includes("javascript:")&&t.removeAttribute(a)}const s=u(t);for(let i=0;i<s.length;i++)g(s[i])},u=t=>null!=t.children?t.children:t.childNodes,c=()=>{var t;const i=null===(t=window?.Ionic)||void 0===t?void 0:t.config;return!i||(i.get?i.get("sanitizerEnabled",!0):!0===i.sanitizerEnabled||void 0===i.sanitizerEnabled)},r=["class","id","href","src","name","slot"],n=["script","style","iframe","meta","link","object","embed"];class e{constructor(s){this.value=s}}},5234:(D,p,v)=>{v.r(p),v.d(p,{KEYBOARD_DID_CLOSE:()=>g,KEYBOARD_DID_OPEN:()=>h,copyVisualViewport:()=>m,keyboardDidClose:()=>f,keyboardDidOpen:()=>a,keyboardDidResize:()=>w,resetKeyboardAssist:()=>e,setKeyboardClose:()=>l,setKeyboardOpen:()=>i,startKeyboardAssist:()=>t,trackViewportChanges:()=>d});const h="ionKeyboardDidShow",g="ionKeyboardDidHide";let c={},r={},n=!1;const e=()=>{c={},r={},n=!1},t=o=>{s(o),o.visualViewport&&(r=m(o.visualViewport),o.visualViewport.onresize=()=>{d(o),a()||w(o)?i(o):f(o)&&l(o)})},s=o=>{o.addEventListener("keyboardDidShow",y=>i(o,y)),o.addEventListener("keyboardDidHide",()=>l(o))},i=(o,y)=>{_(o,y),n=!0},l=o=>{E(o),n=!1},a=()=>!n&&c.width===r.width&&(c.height-r.height)*r.scale>150,w=o=>n&&!f(o),f=o=>n&&r.height===o.innerHeight,_=(o,y)=>{const C=new CustomEvent(h,{detail:{keyboardHeight:y?y.keyboardHeight:o.innerHeight-r.height}});o.dispatchEvent(C)},E=o=>{const y=new CustomEvent(g);o.dispatchEvent(y)},d=o=>{c=Object.assign({},r),r=m(o.visualViewport)},m=o=>({width:Math.round(o.width),height:Math.round(o.height),offsetTop:o.offsetTop,offsetLeft:o.offsetLeft,pageTop:o.pageTop,pageLeft:o.pageLeft,scale:o.scale})},9852:(D,p,v)=>{v.d(p,{c:()=>g});var h=v(3457);const g=u=>{let c,r,n;const e=()=>{c=()=>{n=!0,u&&u(!0)},r=()=>{n=!1,u&&u(!1)},null==h.w||h.w.addEventListener("keyboardWillShow",c),null==h.w||h.w.addEventListener("keyboardWillHide",r)};return e(),{init:e,destroy:()=>{null==h.w||h.w.removeEventListener("keyboardWillShow",c),null==h.w||h.w.removeEventListener("keyboardWillHide",r),c=r=void 0},isKeyboardVisible:()=>n}}},7741:(D,p,v)=>{v.d(p,{S:()=>g});const g={bubbles:{dur:1e3,circles:9,fn:(u,c,r)=>{const n=u*c/r-u+"ms",e=2*Math.PI*c/r;return{r:5,style:{top:9*Math.sin(e)+"px",left:9*Math.cos(e)+"px","animation-delay":n}}}},circles:{dur:1e3,circles:8,fn:(u,c,r)=>{const n=c/r,e=u*n-u+"ms",t=2*Math.PI*n;return{r:5,style:{top:9*Math.sin(t)+"px",left:9*Math.cos(t)+"px","animation-delay":e}}}},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:(u,c)=>({r:6,style:{left:9-9*c+"px","animation-delay":-110*c+"ms"}})},lines:{dur:1e3,lines:8,fn:(u,c,r)=>({y1:14,y2:26,style:{transform:`rotate(${360/r*c+(c<r/2?180:-180)}deg)`,"animation-delay":u*c/r-u+"ms"}})},"lines-small":{dur:1e3,lines:8,fn:(u,c,r)=>({y1:12,y2:20,style:{transform:`rotate(${360/r*c+(c<r/2?180:-180)}deg)`,"animation-delay":u*c/r-u+"ms"}})},"lines-sharp":{dur:1e3,lines:12,fn:(u,c,r)=>({y1:17,y2:29,style:{transform:`rotate(${30*c+(c<6?180:-180)}deg)`,"animation-delay":u*c/r-u+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(u,c,r)=>({y1:12,y2:20,style:{transform:`rotate(${30*c+(c<6?180:-180)}deg)`,"animation-delay":u*c/r-u+"ms"}})}}},9210:(D,p,v)=>{v.r(p),v.d(p,{createSwipeBackGesture:()=>r});var h=v(5730),g=v(5062),u=v(1898);v(4349);const r=(n,e,t,s,i)=>{const l=n.ownerDocument.defaultView,a=(0,g.i)(n),f=o=>a?-o.deltaX:o.deltaX;return(0,u.createGesture)({el:n,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:o=>(o=>{const{startX:M}=o;return a?M>=l.innerWidth-50:M<=50})(o)&&e(),onStart:t,onMove:o=>{const M=f(o)/l.innerWidth;s(M)},onEnd:o=>{const y=f(o),M=l.innerWidth,C=y/M,x=(o=>a?-o.velocityX:o.velocityX)(o),L=x>=0&&(x>.2||y>M/2),k=(L?1-C:C)*M;let b=0;if(k>5){const T=k/Math.abs(x);b=Math.min(T,540)}i(L,C<=0?.01:(0,h.l)(0,C,.9999),b)}})}}}]);