-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.8120c8ca0b6b24f5.js
1 lines (1 loc) · 15.8 KB
/
common.8120c8ca0b6b24f5.js
1
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8592],{7693:(C,f,u)=>{u.d(f,{c:()=>a});var v=u(4083),r=u(7864),l=u(1898);const a=(s,o)=>{let e,t;const i=(d,p,_)=>{if(typeof document>"u")return;const E=document.elementFromPoint(d,p);E&&o(E)?E!==e&&(h(),c(E,_)):h()},c=(d,p)=>{e=d,t||(t=e);const _=e;(0,v.w)(()=>_.classList.add("ion-activated")),p()},h=(d=!1)=>{if(!e)return;const p=e;(0,v.w)(()=>p.classList.remove("ion-activated")),d&&t!==e&&e.click(),e=void 0};return(0,l.createGesture)({el:s,gestureName:"buttonActiveDrag",threshold:0,onStart:d=>i(d.currentX,d.currentY,r.a),onMove:d=>i(d.currentX,d.currentY,r.b),onEnd:()=>{h(!0),(0,r.h)(),t=void 0}})}},2225:(C,f,u)=>{u.d(f,{g:()=>v});const v=(o,e,t,i,c)=>l(o[1],e[1],t[1],i[1],c).map(h=>r(o[0],e[0],t[0],i[0],h)),r=(o,e,t,i,c)=>c*(3*e*Math.pow(c-1,2)+c*(-3*t*c+3*t+i*c))-o*Math.pow(c-1,3),l=(o,e,t,i,c)=>s((i-=c)-3*(t-=c)+3*(e-=c)-(o-=c),3*t-6*e+3*o,3*e-3*o,o).filter(d=>d>=0&&d<=1),s=(o,e,t,i)=>{if(0===o)return((o,e,t)=>{const i=e*e-4*o*t;return i<0?[]:[(-e+Math.sqrt(i))/(2*o),(-e-Math.sqrt(i))/(2*o)]})(e,t,i);const c=(3*(t/=o)-(e/=o)*e)/3,h=(2*e*e*e-9*e*t+27*(i/=o))/27;if(0===c)return[Math.pow(-h,1/3)];if(0===h)return[Math.sqrt(-c),-Math.sqrt(-c)];const d=Math.pow(h/2,2)+Math.pow(c/3,3);if(0===d)return[Math.pow(h/2,.5)-e/3];if(d>0)return[Math.pow(-h/2+Math.sqrt(d),1/3)-Math.pow(h/2+Math.sqrt(d),1/3)-e/3];const p=Math.sqrt(Math.pow(-c/3,3)),_=Math.acos(-h/(2*Math.sqrt(Math.pow(-c/3,3)))),E=2*Math.pow(p,1/3);return[E*Math.cos(_/3)-e/3,E*Math.cos((_+2*Math.PI)/3)-e/3,E*Math.cos((_+4*Math.PI)/3)-e/3]}},5062:(C,f,u)=>{u.d(f,{i:()=>v});const v=r=>r&&""!==r.dir?"rtl"===r.dir.toLowerCase():"rtl"===(null==document?void 0:document.dir.toLowerCase())},5321:(C,f,u)=>{u.r(f),u.d(f,{startFocusVisible:()=>a});const v="ion-focused",l=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],a=s=>{let o=[],e=!0;const t=s?s.shadowRoot:document,i=s||document.body,c=M=>{o.forEach(g=>g.classList.remove(v)),M.forEach(g=>g.classList.add(v)),o=M},h=()=>{e=!1,c([])},d=M=>{e=l.includes(M.key),e||c([])},p=M=>{if(e&&void 0!==M.composedPath){const g=M.composedPath().filter(w=>!!w.classList&&w.classList.contains("ion-focusable"));c(g)}},_=()=>{t.activeElement===i&&c([])};return t.addEventListener("keydown",d),t.addEventListener("focusin",p),t.addEventListener("focusout",_),t.addEventListener("touchstart",h,{passive:!0}),t.addEventListener("mousedown",h),{destroy:()=>{t.removeEventListener("keydown",d),t.removeEventListener("focusin",p),t.removeEventListener("focusout",_),t.removeEventListener("touchstart",h),t.removeEventListener("mousedown",h)},setFocus:c}}},6555:(C,f,u)=>{u.d(f,{c:()=>r});var v=u(6655);const r=o=>{const e=o;let t;return{hasLegacyControl:()=>{if(void 0===t){const c=void 0!==e.label||l(e),h=e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby")&&null===e.shadowRoot,d=(0,v.h)(e);t=!0===e.legacy||!c&&!h&&null!==d}return t}}},l=o=>null!==o.shadowRoot&&!!(a.includes(o.tagName)&&null!==o.querySelector('[slot="label"]')||s.includes(o.tagName)&&""!==o.textContent),a=["ION-RANGE"],s=["ION-TOGGLE","ION-CHECKBOX","ION-RADIO"]},7864:(C,f,u)=>{u.d(f,{a:()=>a,b:()=>s,c:()=>l,d:()=>e,h:()=>o});const v={getEngine(){var t;const i=window;return i.TapticEngine||(null===(t=i.Capacitor)||void 0===t?void 0:t.isPluginAvailable("Haptics"))&&i.Capacitor.Plugins.Haptics},available(){var t;const i=window;return!!this.getEngine()&&("web"!==(null===(t=i.Capacitor)||void 0===t?void 0:t.getPlatform())||typeof navigator<"u"&&void 0!==navigator.vibrate)},isCordova:()=>!!window.TapticEngine,isCapacitor:()=>!!window.Capacitor,impact(t){const i=this.getEngine();if(!i)return;const c=this.isCapacitor()?t.style.toUpperCase():t.style;i.impact({style:c})},notification(t){const i=this.getEngine();if(!i)return;const c=this.isCapacitor()?t.style.toUpperCase():t.style;i.notification({style:c})},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())}},r=()=>v.available(),l=()=>{r()&&v.selection()},a=()=>{r()&&v.selectionStart()},s=()=>{r()&&v.selectionChanged()},o=()=>{r()&&v.selectionEnd()},e=t=>{r()&&v.impact(t)}},7366:(C,f,u)=>{u.d(f,{a:()=>v,b:()=>p,c:()=>e,d:()=>_,e:()=>L,f:()=>o,g:()=>E,h:()=>l,i:()=>r,j:()=>m,k:()=>y,l:()=>t,m:()=>h,n:()=>M,o:()=>c,p:()=>s,q:()=>a,r:()=>n,s:()=>O,t:()=>d,u:()=>g,v:()=>w,w:()=>i});const v="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>",r="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>",l="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>",a="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>",s="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>",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='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>",i="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M136 208l120-104 120 104M136 304l120 104 120-104' stroke-width='48' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none'/></svg>",c="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>",h="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>",d="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>",p="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>",_="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>",E="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>",M="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>",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-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>",w="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>",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='M400 256H112' class='ionicon-fill-none ionicon-stroke-width'/></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='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>",O="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>",L="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>"},4862:(C,f,u)=>{u.d(f,{I:()=>o,a:()=>c,b:()=>s,c:()=>p,d:()=>E,f:()=>h,g:()=>i,i:()=>t,p:()=>_,r:()=>M,s:()=>d});var v=u(5861),r=u(6655),l=u(1178);const s="ion-content",o=".ion-content-scroll-host",e=`${s}, ${o}`,t=g=>"ION-CONTENT"===g.tagName,i=function(){var g=(0,v.Z)(function*(w){return t(w)?(yield new Promise(n=>(0,r.c)(w,n)),w.getScrollElement()):w});return function(n){return g.apply(this,arguments)}}(),c=g=>g.querySelector(o)||g.querySelector(e),h=g=>g.closest(e),d=(g,w)=>t(g)?g.scrollToTop(w):Promise.resolve(g.scrollTo({top:0,left:0,behavior:w>0?"smooth":"auto"})),p=(g,w,n,m)=>t(g)?g.scrollByPoint(w,n,m):Promise.resolve(g.scrollBy({top:n,left:w,behavior:m>0?"smooth":"auto"})),_=g=>(0,l.b)(g,s),E=g=>{if(t(g)){const n=g.scrollY;return g.scrollY=!1,n}return g.style.setProperty("overflow","hidden"),!0},M=(g,w)=>{t(g)?g.scrollY=w:g.style.removeProperty("overflow")}},9240:(C,f,u)=>{u.d(f,{g:()=>r});var v=u(1178);const r=(a,s,o)=>{const e=null==a?0:a.toString().length,t=l(e,s);if(void 0===o)return t;try{return o(e,s)}catch(i){return(0,v.a)("Exception in provided `counterFormatter`.",i),t}},l=(a,s)=>`${a} / ${s}`},5234:(C,f,u)=>{u.r(f),u.d(f,{KEYBOARD_DID_CLOSE:()=>r,KEYBOARD_DID_OPEN:()=>v,copyVisualViewport:()=>w,keyboardDidClose:()=>_,keyboardDidOpen:()=>d,keyboardDidResize:()=>p,resetKeyboardAssist:()=>e,setKeyboardClose:()=>h,setKeyboardOpen:()=>c,startKeyboardAssist:()=>t,trackViewportChanges:()=>g});const v="ionKeyboardDidShow",r="ionKeyboardDidHide";let a={},s={},o=!1;const e=()=>{a={},s={},o=!1},t=n=>{i(n),n.visualViewport&&(s=w(n.visualViewport),n.visualViewport.onresize=()=>{g(n),d()||p(n)?c(n):_(n)&&h(n)})},i=n=>{n.addEventListener("keyboardDidShow",m=>c(n,m)),n.addEventListener("keyboardDidHide",()=>h(n))},c=(n,m)=>{E(n,m),o=!0},h=n=>{M(n),o=!1},d=()=>!o&&a.width===s.width&&(a.height-s.height)*s.scale>150,p=n=>o&&!_(n),_=n=>o&&s.height===n.innerHeight,E=(n,m)=>{const O=new CustomEvent(v,{detail:{keyboardHeight:m?m.keyboardHeight:n.innerHeight-s.height}});n.dispatchEvent(O)},M=n=>{const m=new CustomEvent(r);n.dispatchEvent(m)},g=n=>{a=Object.assign({},s),s=w(n.visualViewport)},w=n=>({width:Math.round(n.width),height:Math.round(n.height),offsetTop:n.offsetTop,offsetLeft:n.offsetLeft,pageTop:n.pageTop,pageLeft:n.pageLeft,scale:n.scale})},8034:(C,f,u)=>{u.d(f,{K:()=>l,a:()=>a,c:()=>e});var v=u(5861),r=u(4110),l=(()=>((l=l||{}).Body="body",l.Ionic="ionic",l.Native="native",l.None="none",l))();const a={getEngine(){var t;return(null===(t=null==r.w?void 0:r.w.Capacitor)||void 0===t?void 0:t.isPluginAvailable("Keyboard"))&&(null==r.w?void 0:r.w.Capacitor.Plugins.Keyboard)},getResizeMode(){const t=this.getEngine();return null!=t&&t.getResizeMode?t.getResizeMode().catch(i=>{if("UNIMPLEMENTED"!==i.code)throw i}):Promise.resolve(void 0)}},s=t=>{if(void 0===r.d||t===l.None||void 0===t)return null;const i=r.d.querySelector("ion-app");return null!=i?i:r.d.body},o=t=>{const i=s(t);return null===i?0:i.clientHeight},e=function(){var t=(0,v.Z)(function*(i){let c,h,d,p;const _=function(){var n=(0,v.Z)(function*(){const m=yield a.getResizeMode(),y=void 0===m?void 0:m.mode;c=()=>{void 0===p&&(p=o(y)),d=!0,E(d,y)},h=()=>{d=!1,E(d,y)},null==r.w||r.w.addEventListener("keyboardWillShow",c),null==r.w||r.w.addEventListener("keyboardWillHide",h)});return function(){return n.apply(this,arguments)}}(),E=(n,m)=>{i&&i(n,M(m))},M=n=>{if(0===p||p===o(n))return;const m=s(n);return null!==m?new Promise(y=>{const L=new ResizeObserver(()=>{m.clientHeight===p&&(L.disconnect(),y())});L.observe(m)}):void 0};return yield _(),{init:_,destroy:()=>{null==r.w||r.w.removeEventListener("keyboardWillShow",c),null==r.w||r.w.removeEventListener("keyboardWillHide",h),c=h=void 0},isKeyboardVisible:()=>d}});return function(c){return t.apply(this,arguments)}}()},6690:(C,f,u)=>{u.d(f,{S:()=>r});const r={bubbles:{dur:1e3,circles:9,fn:(l,a,s)=>{const o=l*a/s-l+"ms",e=2*Math.PI*a/s;return{r:5,style:{top:32*Math.sin(e)+"%",left:32*Math.cos(e)+"%","animation-delay":o}}}},circles:{dur:1e3,circles:8,fn:(l,a,s)=>{const o=a/s,e=l*o-l+"ms",t=2*Math.PI*o;return{r:5,style:{top:32*Math.sin(t)+"%",left:32*Math.cos(t)+"%","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:(l,a)=>({r:6,style:{left:32-32*a+"%","animation-delay":-110*a+"ms"}})},lines:{dur:1e3,lines:8,fn:(l,a,s)=>({y1:14,y2:26,style:{transform:`rotate(${360/s*a+(a<s/2?180:-180)}deg)`,"animation-delay":l*a/s-l+"ms"}})},"lines-small":{dur:1e3,lines:8,fn:(l,a,s)=>({y1:12,y2:20,style:{transform:`rotate(${360/s*a+(a<s/2?180:-180)}deg)`,"animation-delay":l*a/s-l+"ms"}})},"lines-sharp":{dur:1e3,lines:12,fn:(l,a,s)=>({y1:17,y2:29,style:{transform:`rotate(${30*a+(a<6?180:-180)}deg)`,"animation-delay":l*a/s-l+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(l,a,s)=>({y1:12,y2:20,style:{transform:`rotate(${30*a+(a<6?180:-180)}deg)`,"animation-delay":l*a/s-l+"ms"}})}}},4805:(C,f,u)=>{u.r(f),u.d(f,{createSwipeBackGesture:()=>s});var v=u(6655),r=u(5062),l=u(1898);u(4349);const s=(o,e,t,i,c)=>{const h=o.ownerDocument.defaultView;let d=(0,r.i)(o);const _=n=>d?-n.deltaX:n.deltaX;return(0,l.createGesture)({el:o,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:n=>(d=(0,r.i)(o),(n=>{const{startX:y}=n;return d?y>=h.innerWidth-50:y<=50})(n)&&e()),onStart:t,onMove:n=>{const y=_(n)/h.innerWidth;i(y)},onEnd:n=>{const m=_(n),y=h.innerWidth,O=m/y,L=(n=>d?-n.velocityX:n.velocityX)(n),b=L>=0&&(L>.2||m>y/2),k=(b?1-O:O)*y;let D=0;if(k>5){const S=k/Math.abs(L);D=Math.min(S,540)}c(b,O<=0?.01:(0,v.l)(0,O,.9999),D)}})}}}]);