!function(){"use strict";var Qo="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(e,t){return e(t={exports:{}},t.exports),t.exports}var t=e(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),n=Object.freeze({default:t,__moduleExports:t}),r={}.hasOwnProperty,i=function(e,t){return r.call(e,t)},o=Object.freeze({default:i,__moduleExports:i}),a=function(e){try{return!!e()}catch(e){return!0}},s=Object.freeze({default:a,__moduleExports:a}),$e=s&&a||s,l=!$e(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),c=Object.freeze({default:l,__moduleExports:l}),u=e(function(e){var t=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=t)}),d=u.version,h=Object.freeze({default:u,__moduleExports:u,version:d}),p=function(e){return"object"==typeof e?null!==e:"function"==typeof e},f=Object.freeze({default:p,__moduleExports:p}),Ue=f&&p||f,v=function(e){if(!Ue(e))throw TypeError(e+" is not an object!");return e},g=Object.freeze({default:v,__moduleExports:v}),Ye=n&&t||n,y=Ye.document,m=Ue(y)&&Ue(y.createElement),_=function(e){return m?y.createElement(e):{}},A=Object.freeze({default:_,__moduleExports:_}),qe=c&&l||c,b=A&&_||A,w=!qe&&!$e(function(){return 7!=Object.defineProperty(b("div"),"a",{get:function(){return 7}}).a}),k=Object.freeze({default:w,__moduleExports:w}),C=function(e,t){if(!Ue(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!Ue(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!Ue(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!Ue(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},E=Object.freeze({default:C,__moduleExports:C}),x=g&&v||g,S=k&&w||k,Je=E&&C||E,P=Object.defineProperty,T=qe?Object.defineProperty:function(e,t,n){if(x(e),t=Je(t,!0),x(n),S)try{return P(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e},O={f:T},D=Object.freeze({default:O,__moduleExports:O,f:T}),I=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},N=Object.freeze({default:I,__moduleExports:I}),Ge=D&&O||D,Xe=N&&I||N,F=qe?function(e,t,n){return Ge.f(e,t,Xe(1,n))}:function(e,t,n){return e[t]=n,e},M=Object.freeze({default:F,__moduleExports:F}),R=0,L=Math.random(),B=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++R+L).toString(36))},j=Object.freeze({default:B,__moduleExports:B}),Ke=M&&F||M,Ze=o&&i||o,et=j&&B||j,z=h&&u||h,H=e(function(e){var o=et("src"),t="toString",n=Function[t],a=(""+n).split(t);z.inspectSource=function(e){return n.call(e)},(e.exports=function(e,t,n,r){var i="function"==typeof n;i&&(Ze(n,"name")||Ke(n,"name",t)),e[t]!==n&&(i&&(Ze(n,o)||Ke(n,o,e[t]?""+e[t]:a.join(String(t)))),e===Ye?e[t]=n:r?e[t]?e[t]=n:Ke(e,t,n):(delete e[t],Ke(e,t,n)))})(Function.prototype,t,function(){return"function"==typeof this&&this[o]||n.call(this)})}),V=Object.freeze({default:H,__moduleExports:H}),W=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},Q=Object.freeze({default:W,__moduleExports:W}),$=Q&&W||Q,U=function(r,i,e){if($(r),void 0===i)return r;switch(e){case 1:return function(e){return r.call(i,e)};case 2:return function(e,t){return r.call(i,e,t)};case 3:return function(e,t,n){return r.call(i,e,t,n)}}return function(){return r.apply(i,arguments)}},Y=Object.freeze({default:U,__moduleExports:U}),q=V&&H||V,nt=Y&&U||Y,J="prototype",G=function(e,t,n){var r,i,o,a,s=e&G.F,l=e&G.G,c=e&G.S,u=e&G.P,d=e&G.B,h=l?Ye:c?Ye[t]||(Ye[t]={}):(Ye[t]||{})[J],p=l?z:z[t]||(z[t]={}),f=p[J]||(p[J]={});for(r in l&&(n=t),n)o=((i=!s&&h&&void 0!==h[r])?h:n)[r],a=d&&i?nt(o,Ye):u&&"function"==typeof o?nt(Function.call,o):o,h&&q(h,r,o,e&G.U),p[r]!=o&&Ke(p,r,a),u&&f[r]!=o&&(f[r]=o)};Ye.core=z,G.F=1,G.G=2,G.S=4,G.P=8,G.B=16,G.W=32,G.U=64,G.R=128;var X=G,K=Object.freeze({default:X,__moduleExports:X}),Z=e(function(e){var n=et("meta"),t=Ge.f,r=0,i=Object.isExtensible||function(){return!0},o=!$e(function(){return i(Object.preventExtensions({}))}),a=function(e){t(e,n,{value:{i:"O"+ ++r,w:{}}})},s=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!Ue(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!Ze(e,n)){if(!i(e))return"F";if(!t)return"E";a(e)}return e[n].i},getWeak:function(e,t){if(!Ze(e,n)){if(!i(e))return!0;if(!t)return!1;a(e)}return e[n].w},onFreeze:function(e){return o&&s.NEED&&i(e)&&!Ze(e,n)&&a(e),e}}}),ee=Z.KEY,te=Z.NEED,ne=Z.fastKey,re=Z.getWeak,ie=Z.onFreeze,oe=Object.freeze({default:Z,__moduleExports:Z,KEY:ee,NEED:te,fastKey:ne,getWeak:re,onFreeze:ie}),ae="__core-js_shared__",se=Ye[ae]||(Ye[ae]={}),le=function(e){return se[e]||(se[e]={})},ce=Object.freeze({default:le,__moduleExports:le}),ue=ce&&le||ce,de=e(function(e){var t=ue("wks"),n=Ye.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:et)("Symbol."+e))}).store=t}),he=Object.freeze({default:de,__moduleExports:de}),rt=he&&de||he,pe=Ge.f,fe=rt("toStringTag"),ve=function(e,t,n){e&&!Ze(e=n?e:e.prototype,fe)&&pe(e,fe,{configurable:!0,value:t})},ge=Object.freeze({default:ve,__moduleExports:ve}),ye=rt,me={f:ye},_e=Object.freeze({default:me,__moduleExports:me,f:ye}),Ae=Object.freeze({default:!1,__moduleExports:!1}),it=Ae,be=_e&&me||_e,we=Ge.f,ke=function(e){var t=z.Symbol||(z.Symbol=it?{}:Ye.Symbol||{});"_"==e.charAt(0)||e in t||we(t,e,{value:be.f(e)})},Ce=Object.freeze({default:ke,__moduleExports:ke}),Ee={}.toString,xe=function(e){return Ee.call(e).slice(8,-1)},Se=Object.freeze({default:xe,__moduleExports:xe}),Pe=Se&&xe||Se,Te=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==Pe(e)?e.split(""):Object(e)},Oe=Object.freeze({default:Te,__moduleExports:Te}),De=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},Ie=Object.freeze({default:De,__moduleExports:De}),Ne=Oe&&Te||Oe,Fe=Ie&&De||Ie,Me=function(e){return Ne(Fe(e))},Re=Object.freeze({default:Me,__moduleExports:Me}),Le=Math.ceil,Be=Math.floor,je=function(e){return isNaN(e=+e)?0:(0i;)Ze(r,n=t[i++])&&(~_t(o,n)||o.push(n));return o},wt=Object.freeze({default:bt,__moduleExports:bt}),kt="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Ct=Object.freeze({default:kt,__moduleExports:kt}),Et=wt&&bt||wt,xt=Ct&&kt||Ct,St=Object.keys||function(e){return Et(e,xt)},Pt=Object.freeze({default:St,__moduleExports:St}),Tt=Object.getOwnPropertySymbols,Ot={f:Tt},Dt=Object.freeze({default:Ot,__moduleExports:Ot,f:Tt}),It={}.propertyIsEnumerable,Nt={f:It},Ft=Object.freeze({default:Nt,__moduleExports:Nt,f:It}),Mt=Pt&&St||Pt,Rt=Dt&&Ot||Dt,Lt=Ft&&Nt||Ft,Bt=function(e){var t=Mt(e),n=Rt.f;if(n)for(var r,i=n(e),o=Lt.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t},jt=Object.freeze({default:Bt,__moduleExports:Bt}),zt=Array.isArray||function(e){return"Array"==Pe(e)},Ht=Object.freeze({default:zt,__moduleExports:zt}),Vt=qe?Object.defineProperties:function(e,t){x(e);for(var n,r=Mt(t),i=r.length,o=0;odocument.F=Object<\/script>"),e.close(),Kt=e.F;n--;)delete Kt[Xt][xt[n]];return Kt()},Zt=Object.create||function(e,t){var n;return null!==e?(Gt[Xt]=x(e),n=new Gt,Gt[Xt]=null,n[Jt]=e):n=Kt(),void 0===t?n:Yt(n,t)},en=Object.freeze({default:Zt,__moduleExports:Zt}),tn=xt.concat("length","prototype"),nn=Object.getOwnPropertyNames||function(e){return Et(e,tn)},rn={f:nn},on=Object.freeze({default:rn,__moduleExports:rn,f:nn}),an=on&&rn||on,sn=an.f,ln={}.toString,cn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],un=function(e){return cn&&"[object Window]"==ln.call(e)?function(e){try{return sn(e)}catch(e){return cn.slice()}}(e):sn(ct(e))},dn={f:un},hn=Object.freeze({default:dn,__moduleExports:dn,f:un}),pn=Object.getOwnPropertyDescriptor,fn=qe?pn:function(e,t){if(e=ct(e),t=Je(t,!0),S)try{return pn(e,t)}catch(e){}if(Ze(e,t))return Xe(!Lt.f.call(e,t),e[t])},vn={f:fn},gn=Object.freeze({default:vn,__moduleExports:vn,f:fn}),yn=K&&X||K,mn=oe&&Z||oe,_n=ge&&ve||ge,An=Ce&&ke||Ce,bn=jt&&Bt||jt,wn=Ht&&zt||Ht,kn=en&&Zt||en,Cn=hn&&dn||hn,En=gn&&vn||gn,xn=mn.KEY,Sn=En.f,Pn=Ge.f,Tn=Cn.f,On=Ye.Symbol,Dn=Ye.JSON,In=Dn&&Dn.stringify,Nn="prototype",Fn=rt("_hidden"),Mn=rt("toPrimitive"),Rn={}.propertyIsEnumerable,Ln=ue("symbol-registry"),Bn=ue("symbols"),jn=ue("op-symbols"),zn=Object[Nn],Hn="function"==typeof On,Vn=Ye.QObject,Wn=!Vn||!Vn[Nn]||!Vn[Nn].findChild,Qn=qe&&$e(function(){return 7!=kn(Pn({},"a",{get:function(){return Pn(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=Sn(zn,t);r&&delete zn[t],Pn(e,t,n),r&&e!==zn&&Pn(zn,t,r)}:Pn,$n=function(e){var t=Bn[e]=kn(On[Nn]);return t._k=e,t},Un=Hn&&"symbol"==typeof On.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof On},Yn=function(e,t,n){return e===zn&&Yn(jn,t,n),x(e),t=Je(t,!0),x(n),Ze(Bn,t)?(n.enumerable?(Ze(e,Fn)&&e[Fn][t]&&(e[Fn][t]=!1),n=kn(n,{enumerable:Xe(0,!1)})):(Ze(e,Fn)||Pn(e,Fn,Xe(1,{})),e[Fn][t]=!0),Qn(e,t,n)):Pn(e,t,n)},qn=function(e,t){x(e);for(var n,r=bn(t=ct(t)),i=0,o=r.length;ii;)Ze(Bn,t=n[i++])||t==Fn||t==xn||r.push(t);return r},Kn=function(e){for(var t,n=e===zn,r=Tn(n?jn:ct(e)),i=[],o=0;r.length>o;)!Ze(Bn,t=r[o++])||n&&!Ze(zn,t)||i.push(Bn[t]);return i};Hn||(q((On=function(){if(this instanceof On)throw TypeError("Symbol is not a constructor!");var t=et(0er;)rt(Zn[er++]);for(var tr=Mt(rt.store),nr=0;tr.length>nr;)An(tr[nr++]);yn(yn.S+yn.F*!Hn,"Symbol",{for:function(e){return Ze(Ln,e+="")?Ln[e]:Ln[e]=On(e)},keyFor:function(e){if(!Un(e))throw TypeError(e+" is not a symbol!");for(var t in Ln)if(Ln[t]===e)return t},useSetter:function(){Wn=!0},useSimple:function(){Wn=!1}}),yn(yn.S+yn.F*!Hn,"Object",{create:function(e,t){return void 0===t?kn(e):qn(kn(e),t)},defineProperty:Yn,defineProperties:qn,getOwnPropertyDescriptor:Gn,getOwnPropertyNames:Xn,getOwnPropertySymbols:Kn}),Dn&&yn(yn.S+yn.F*(!Hn||$e(function(){var e=On();return"[null]"!=In([e])||"{}"!=In({a:e})||"{}"!=In(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(Ue(t)||void 0!==e)&&!Un(e))return wn(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Un(t))return t}),r[1]=t,In.apply(Dn,r)}}),On[Nn][Mn]||Ke(On[Nn],Mn,On[Nn].valueOf),_n(On,"Symbol"),_n(Math,"Math",!0),_n(Ye.JSON,"JSON",!0),yn(yn.S,"Object",{create:kn}),yn(yn.S+yn.F*!qe,"Object",{defineProperty:Ge.f}),yn(yn.S+yn.F*!qe,"Object",{defineProperties:Yt});var rr=function(e,t){var n=(z.Object||{})[e]||Object[e],r={};r[e]=t(n),yn(yn.S+yn.F*$e(function(){n(1)}),"Object",r)},ir=Object.freeze({default:rr,__moduleExports:rr}),or=ir&&rr||ir,ar=En.f;or("getOwnPropertyDescriptor",function(){return function(e,t){return ar(ct(e),t)}});var sr=function(e){return Object(Fe(e))},lr=Object.freeze({default:sr,__moduleExports:sr}),cr=lr&&sr||lr,ur=mt("IE_PROTO"),dr=Object.prototype,hr=Object.getPrototypeOf||function(e){return e=cr(e),Ze(e,ur)?e[ur]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?dr:null},pr=Object.freeze({default:hr,__moduleExports:hr}),fr=pr&&hr||pr;or("getPrototypeOf",function(){return function(e){return fr(cr(e))}}),or("keys",function(){return function(e){return Mt(cr(e))}}),or("getOwnPropertyNames",function(){return Cn.f});var vr=mn.onFreeze;or("freeze",function(t){return function(e){return t&&Ue(e)?t(vr(e)):e}});var gr=mn.onFreeze;or("seal",function(t){return function(e){return t&&Ue(e)?t(gr(e)):e}});var yr=mn.onFreeze;or("preventExtensions",function(t){return function(e){return t&&Ue(e)?t(yr(e)):e}}),or("isFrozen",function(t){return function(e){return!Ue(e)||!!t&&t(e)}}),or("isSealed",function(t){return function(e){return!Ue(e)||!!t&&t(e)}}),or("isExtensible",function(t){return function(e){return!!Ue(e)&&(!t||t(e))}});var mr=Object.assign,_r=!mr||$e(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=mr({},e)[n]||Object.keys(mr({},t)).join("")!=r})?function(e,t){for(var n=cr(e),r=arguments.length,i=1,o=Rt.f,a=Lt.f;i>>0||(ci.test(n)?16:10))}:si,di=Object.freeze({default:ui,__moduleExports:ui}),hi=di&&ui||di;yn(yn.G+yn.F*(parseInt!=hi),{parseInt:hi});var pi=Ye.parseFloat,fi=ai.trim,vi=1/pi(Kr+"-0")!=-1/0?function(e){var t=fi(String(e),3),n=pi(t);return 0===n&&"-"==t.charAt(0)?-0:n}:pi,gi=Object.freeze({default:vi,__moduleExports:vi}),yi=gi&&vi||gi;yn(yn.G+yn.F*(parseFloat!=yi),{parseFloat:yi});var mi=Or.set,_i=function(e,t,n){var r,i=t.constructor;return i!==n&&"function"==typeof i&&(r=i.prototype)!==n.prototype&&Ue(r)&&mi&&mi(e,r),e},Ai=Object.freeze({default:_i,__moduleExports:_i}),bi=Ai&&_i||Ai,wi=an.f,ki=En.f,Ci=Ge.f,Ei=ai.trim,xi="Number",Si=Ye[xi],Pi=Si,Ti=Si.prototype,Oi=Pe(kn(Ti))==xi,Di="trim"in String.prototype,Ii=function(e){var t=Je(e,!1);if("string"==typeof t&&2Mi;Mi++)Ze(Pi,Ni=Fi[Mi])&&!Ze(Si,Ni)&&Ci(Si,Ni,ki(Pi,Ni));(Si.prototype=Ti).constructor=Si,q(Ye,xi,Si)}var Ri=function(e,t){if("number"!=typeof e&&"Number"!=Pe(e))throw TypeError(t);return+e},Li=Object.freeze({default:Ri,__moduleExports:Ri}),Bi=function(e){var t=String(Fe(this)),n="",r=ot(e);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(t+=t))1&r&&(n+=t);return n},ji=Object.freeze({default:Bi,__moduleExports:Bi}),zi=Li&&Ri||Li,Hi=ji&&Bi||ji,Vi=1..toFixed,Wi=Math.floor,Qi=[0,0,0,0,0,0],$i="Number.toFixed: incorrect invocation!",Ui=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*Qi[n],Qi[n]=r%1e7,r=Wi(r/1e7)},Yi=function(e){for(var t=6,n=0;0<=--t;)n+=Qi[t],Qi[t]=Wi(n/e),n=n%e*1e7},qi=function(){for(var e=6,t="";0<=--e;)if(""!==t||0===e||0!==Qi[e]){var n=String(Qi[e]);t=""===t?n:t+Hi.call("0",7-n.length)+n}return t},Ji=function(e,t,n){return 0===t?n:t%2==1?Ji(e,t-1,n*e):Ji(e*e,t/2,n)};yn(yn.P+yn.F*(!!Vi&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!$e(function(){Vi.call({})})),"Number",{toFixed:function(e){var t,n,r,i,o=zi(this,$i),a=ot(e),s="",l="0";if(a<0||20>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}});var fo=Math.exp;yn(yn.S,"Math",{cosh:function(e){return(fo(e=+e)+fo(-e))/2}});var vo=Math.expm1,go=!vo||22025.465794806718>>16)*a+o*(n&i>>>16)<<16>>>0)}}),yn(yn.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}}),yn(yn.S,"Math",{log1p:oo}),yn(yn.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}}),yn(yn.S,"Math",{sign:po});var To=Math.exp;yn(yn.S+yn.F*$e(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(mo(e)-mo(-e))/2:(To(e-1)-To(-e-1))*(Math.E/2)}});var Oo=Math.exp;yn(yn.S,"Math",{tanh:function(e){var t=mo(e=+e),n=mo(-e);return t==1/0?1:n==1/0?-1:(t-n)/(Oo(e)+Oo(-e))}}),yn(yn.S,"Math",{trunc:function(e){return(0>10),t%1024+56320))}return n.join("")}}),yn(yn.S,"String",{raw:function(e){for(var t=ct(e.raw),n=ut(t.length),r=arguments.length,i=[],o=0;o=t.length?{value:void 0,done:!0}:(e=Xo(t,n),this._i+=e.length,{value:e,done:!1})});var Ko=Jo(!1);yn(yn.P,"String",{codePointAt:function(e){return Ko(this,e)}});var Zo=rt("match"),ea=function(e){var t;return Ue(e)&&(void 0!==(t=e[Zo])?!!t:"RegExp"==Pe(e))},ta=Object.freeze({default:ea,__moduleExports:ea}),na=ta&&ea||ta,ra=function(e,t,n){if(na(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(Fe(e))},ia=Object.freeze({default:ra,__moduleExports:ra}),oa=rt("match"),aa=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[oa]=!1,!"/./"[t](n)}catch(e){}}return!0},sa=Object.freeze({default:aa,__moduleExports:aa}),la=ia&&ra||ia,ca=sa&&aa||sa,ua="endsWith",da=""[ua];yn(yn.P+yn.F*ca(ua),"String",{endsWith:function(e){var t=la(this,e,ua),n=1"+i+""},ya=function(t,e){var n={};n[t]=e(ga),yn(yn.P+yn.F*$e(function(){var e=""[t]('"');return e!==e.toLowerCase()||3=e.length?(this._t=void 0,nl(1)):nl(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");zo.Arguments=zo.Array,zs("keys"),zs("values"),zs("entries");var il=Object.freeze({default:rl,__moduleExports:rl}),ol=function(){var e=x(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},al=Object.freeze({default:ol,__moduleExports:ol}),sl=al&&ol||al,ll=Ge.f,cl=an.f,ul=Ye.RegExp,dl=ul,hl=ul.prototype,pl=/a/g,fl=/a/g,vl=new ul(pl)!==pl;if(qe&&(!vl||$e(function(){return fl[rt("match")]=!1,ul(pl)!=pl||ul(fl)==fl||"/a/i"!=ul(pl,"i")}))){ul=function(e,t){var n=this instanceof ul,r=na(e),i=void 0===t;return!n&&r&&e.constructor===ul&&i?e:bi(vl?new dl(r&&!i?e.source:e,t):dl((r=e instanceof ul)?e.source:e,r&&i?sl.call(e):t),n?this:hl,ul)};for(var gl=function(t){t in ul||ll(ul,t,{configurable:!0,get:function(){return dl[t]},set:function(e){dl[t]=e}})},yl=cl(dl),ml=0;yl.length>ml;)gl(yl[ml++]);(hl.constructor=ul).prototype=hl,q(Ye,"RegExp",ul)}Zs("RegExp"),qe&&"g"!=/./g.flags&&Ge.f(RegExp.prototype,"flags",{configurable:!0,get:sl});var _l="toString",Al=/./[_l],bl=function(e){q(RegExp.prototype,_l,e,!0)};$e(function(){return"/a/b"!=Al.call({source:"a",flags:"b"})})?bl(function(){var e=x(this);return"/".concat(e.source,"/","flags"in e?e.flags:!qe&&e instanceof RegExp?sl.call(e):void 0)}):Al.name!=_l&&bl(function(){return Al.call(this)});var wl=function(t,e,n){var r=rt(t),i=n(Fe,r,""[t]),o=i[0],a=i[1];$e(function(){var e={};return e[r]=function(){return 7},7!=""[t](e)})&&(q(String.prototype,t,o),Ke(RegExp.prototype,r,2==e?function(e,t){return a.call(e,this,t)}:function(e){return a.call(e,this)}))},kl=Object.freeze({default:wl,__moduleExports:wl}),Cl=kl&&wl||kl;Cl("match",1,function(r,i,e){return[function(e){var t=r(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,t):new RegExp(e)[i](String(t))},e]}),Cl("replace",2,function(i,o,a){return[function(e,t){var n=i(this),r=null==e?void 0:e[o];return void 0!==r?r.call(e,n,t):a.call(String(n),e,t)},a]}),Cl("search",1,function(r,i,e){return[function(e){var t=r(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,t):new RegExp(e)[i](String(t))},e]}),Cl("split",2,function(i,o,a){var p=na,f=a,v=[].push,e="split",g="length",y="lastIndex";if("c"=="abbc"[e](/(b)*/)[1]||4!="test"[e](/(?:)/,-1)[g]||2!="ab"[e](/(?:ab)*/)[g]||4!="."[e](/(.?)(.?)/)[g]||1<"."[e](/()()/)[g]||""[e](/.?/)[g]){var m=void 0===/()??/.exec("")[1];a=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!p(e))return f.call(n,e,t);var r,i,o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,d=void 0===t?4294967295:t>>>0,h=new RegExp(e.source,c+"g");for(m||(r=new RegExp("^"+h.source+"$(?!\\s)",c));(i=h.exec(n))&&!(u<(o=i.index+i[0][g])&&(l.push(n.slice(u,i.index)),!m&&1=d));)h[y]===i.index&&h[y]++;return u===n[g]?!a&&h.test("")||l.push(""):l.push(n.slice(u)),l[g]>d?l.slice(0,d):l}}else"0"[e](void 0,0)[g]&&(a=function(e,t){return void 0===e&&0===t?[]:f.call(this,e,t)});return[function(e,t){var n=i(this),r=null==e?void 0:e[o];return void 0!==r?r.call(e,n,t):a.call(String(n),e,t)},a]});var El,xl,Sl,Pl=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},Tl=Object.freeze({default:Pl,__moduleExports:Pl}),Ol=e(function(e){var h={},p={},t=e.exports=function(e,t,n,r,i){var o,a,s,l,c=i?function(){return e}:es(e),u=nt(n,r,t?2:1),d=0;if("function"!=typeof c)throw TypeError(e+" is not iterable!");if(Ka(c)){for(o=ut(e.length);dn;)t.push(arguments[n++]);return Hl[++zl]=function(){jr("function"==typeof e?e:Function(e),t)},El(zl),zl},Ll=function(e){delete Hl[e]},"process"==Pe(Ml)?El=function(e){Ml.nextTick(nt(Wl,e,1))}:jl&&jl.now?El=function(e){jl.now(nt(Wl,e,1))}:Bl?(Sl=(xl=new Bl).port2,xl.port1.onmessage=Ql,El=nt(Sl.postMessage,Sl,1)):Ye.addEventListener&&"function"==typeof postMessage&&!Ye.importScripts?(El=function(e){Ye.postMessage(e+"","*")},Ye.addEventListener("message",Ql,!1)):El=Vl in b("script")?function(e){qt.appendChild(b("script"))[Vl]=function(){qt.removeChild(this),Wl.call(e)}}:function(e){setTimeout(nt(Wl,e,1),0)});var $l={set:Rl,clear:Ll},Ul=$l.set,Yl=$l.clear,ql=Object.freeze({default:$l,__moduleExports:$l,set:Ul,clear:Yl}),Jl=ql&&$l||ql,Gl=Jl.set,Xl=Ye.MutationObserver||Ye.WebKitMutationObserver,Kl=Ye.process,Zl=Ye.Promise,ec="process"==Pe(Kl),tc=function(){var n,r,i,e=function(){var e,t;for(ec&&(e=Kl.domain)&&e.exit();n;){t=n.fn,n=n.next;try{t()}catch(e){throw n?i():r=void 0,e}}r=void 0,e&&e.enter()};if(ec)i=function(){Kl.nextTick(e)};else if(!Xl||Ye.navigator&&Ye.navigator.standalone)if(Zl&&Zl.resolve){var t=Zl.resolve();i=function(){t.then(e)}}else i=function(){Gl.call(Ye,e)};else{var o=!0,a=document.createTextNode("");new Xl(e).observe(a,{characterData:!0}),i=function(){a.data=o=!o}}return function(e){var t={fn:e,next:void 0};r&&(r.next=t),n||(n=t,i()),r=t}},nc=Object.freeze({default:tc,__moduleExports:tc});function rc(e){var n,r;this.promise=new e(function(e,t){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=e,r=t}),this.resolve=$(n),this.reject=$(r)}var ic,oc,ac,sc,lc=function(e){return new rc(e)},cc={f:lc},uc=Object.freeze({default:cc,__moduleExports:cc,f:lc}),dc=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},hc=Object.freeze({default:dc,__moduleExports:dc}),pc=uc&&cc||uc,fc=function(e,t){if(x(e),Ue(t)&&t.constructor===e)return t;var n=pc.f(e);return(0,n.resolve)(t),n.promise},vc=Object.freeze({default:fc,__moduleExports:fc}),gc=function(e,t,n){for(var r in t)q(e,r,t[r],n);return e},yc=Object.freeze({default:gc,__moduleExports:gc}),mc=Tl&&Pl||Tl,_c=Dl&&Ol||Dl,Ac=Fl&&Nl||Fl,bc=nc&&tc||nc,wc=hc&&dc||hc,kc=vc&&fc||vc,Cc=yc&&gc||yc,Ec=Jl.set,xc=bc(),Sc="Promise",Pc=Ye.TypeError,Tc=Ye.process,Oc=Ye[Sc],Dc="process"==Mr(Tc),Ic=function(){},Nc=oc=pc.f,Fc=!!function(){try{var e=Oc.resolve(1),t=(e.constructor={})[rt("species")]=function(e){e(Ic,Ic)};return(Dc||"function"==typeof PromiseRejectionEvent)&&e.then(Ic)instanceof t}catch(e){}}(),Mc=function(e){var t;return!(!Ue(e)||"function"!=typeof(t=e.then))&&t},Rc=function(c,n){if(!c._n){c._n=!0;var r=c._c;xc(function(){for(var s=c._v,l=1==c._s,e=0,t=function(e){var t,n,r=l?e.ok:e.fail,i=e.resolve,o=e.reject,a=e.domain;try{r?(l||(2==c._h&&jc(c),c._h=1),!0===r?t=s:(a&&a.enter(),t=r(s),a&&a.exit()),t===e.promise?o(Pc("Promise-chain cycle")):(n=Mc(t))?n.call(t,i,o):i(t)):o(s)}catch(e){o(e)}};r.length>e;)t(r[e++]);c._c=[],c._n=!1,n&&!c._h&&Lc(c)})}},Lc=function(o){Ec.call(Ye,function(){var e,t,n,r=o._v,i=Bc(o);if(i&&(e=wc(function(){Dc?Tc.emit("unhandledRejection",r,o):(t=Ye.onunhandledrejection)?t({promise:o,reason:r}):(n=Ye.console)&&n.error&&n.error("Unhandled promise rejection",r)}),o._h=Dc||Bc(o)?2:1),o._a=void 0,i&&e.e)throw e.v})},Bc=function(e){return 1!==e._h&&0===(e._a||e._c).length},jc=function(t){Ec.call(Ye,function(){var e;Dc?Tc.emit("rejectionHandled",t):(e=Ye.onrejectionhandled)&&e({promise:t,reason:t._v})})},zc=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),Rc(t,!0))},Hc=function(e){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw Pc("Promise can't be resolved itself");(n=Mc(e))?xc(function(){var t={_w:r,_d:!1};try{n.call(e,nt(Hc,t,1),nt(zc,t,1))}catch(e){zc.call(t,e)}}):(r._v=e,r._s=1,Rc(r,!1))}catch(e){zc.call({_w:r,_d:!1},e)}}};Fc||(Oc=function(e){mc(this,Oc,Sc,"_h"),$(e),ic.call(this);try{e(nt(Hc,this,1),nt(zc,this,1))}catch(e){zc.call(this,e)}},(ic=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=Cc(Oc.prototype,{then:function(e,t){var n=Nc(Ac(this,Oc));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Dc?Tc.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Rc(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),ac=function(){var e=new ic;this.promise=e,this.resolve=nt(Hc,e,1),this.reject=nt(zc,e,1)},pc.f=Nc=function(e){return e===Oc||e===sc?new ac(e):oc(e)}),yn(yn.G+yn.W+yn.F*!Fc,{Promise:Oc}),_n(Oc,Sc),Zs(Sc),sc=z[Sc],yn(yn.S+yn.F*!Fc,Sc,{reject:function(e){var t=Nc(this);return(0,t.reject)(e),t.promise}}),yn(yn.S+yn.F*(it||!Fc),Sc,{resolve:function(e){return kc(it&&this===sc?Oc:this,e)}}),yn(yn.S+yn.F*!(Fc&&ts(function(e){Oc.all(e).catch(Ic)})),Sc,{all:function(e){var a=this,t=Nc(a),s=t.resolve,l=t.reject,n=wc(function(){var r=[],i=0,o=1;_c(e,!1,function(e){var t=i++,n=!1;r.push(void 0),o++,a.resolve(e).then(function(e){n||(n=!0,r[t]=e,--o||s(r))},l)}),--o||s(r)});return n.e&&l(n.v),t.promise},race:function(e){var t=this,n=Nc(t),r=n.reject,i=wc(function(){_c(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}});var Vc=function(e,t){if(!Ue(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e},Wc=Object.freeze({default:Vc,__moduleExports:Vc}),Qc=Wc&&Vc||Wc,$c=Ge.f,Uc=mn.fastKey,Yc=qe?"_s":"size",qc=function(e,t){var n,r=Uc(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n},Jc={getConstructor:function(e,o,n,r){var i=e(function(e,t){mc(e,i,o,"_i"),e._t=o,e._i=kn(null),e._f=void 0,e._l=void 0,e[Yc]=0,null!=t&&_c(t,n,e[r],e)});return Cc(i.prototype,{clear:function(){for(var e=Qc(this,o),t=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete t[n.i];e._f=e._l=void 0,e[Yc]=0},delete:function(e){var t=Qc(this,o),n=qc(t,e);if(n){var r=n.n,i=n.p;delete t._i[n.i],n.r=!0,i&&(i.n=r),r&&(r.p=i),t._f==n&&(t._f=r),t._l==n&&(t._l=i),t[Yc]--}return!!n},forEach:function(e){Qc(this,o);for(var t,n=nt(e,1>1,u=23===t?v(2,-24)-v(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for((e=f(e))!=e||e===p?(i=e!=e?1:0,r=l):(r=g(y(e)/m),e*(o=v(2,-r))<1&&(r--,o*=2),2<=(e+=1<=r+c?u/o:u*v(2,1-c))*o&&(r++,o/=2),l<=r+c?(i=0,r=l):1<=r+c?(i=(e*o-1)*v(2,t),r+=c):(i=e*v(2,c-1)*v(2,t),r=0));8<=t;a[d++]=255&i,i/=256,t-=8);for(r=r<>1,s=i-7,l=n-1,c=e[l--],u=127&c;for(c>>=7;0>=-s,s+=t;0>8&255]}function T(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function O(e){return C(e,52,8)}function D(e){return C(e,23,4)}function I(e,t,n){r(e[a],t,{get:function(){return this[n]}})}function N(e,t,n,r){var i=Hu(+n);if(i+t>e[w])throw h(d);var o=e[b]._b,a=i+e[k],s=o.slice(a,a+t);return r?s:s.reverse()}function F(e,t,n,r,i,o){var a=Hu(+n);if(a+t>e[w])throw h(d);for(var s=e[b]._b,l=a+e[k],c=r(+i),u=0;uB;)(M=L[B++])in s||Ke(s,M,u[M]);it||(R.constructor=s)}var j=new l(new s(2)),z=l[a].setInt8;j.setInt8(0,2147483648),j.setInt8(1,2147483649),!j.getInt8(0)&&j.getInt8(1)||Cc(l[a],{setInt8:function(e,t){z.call(this,e,t<<24>>24)},setUint8:function(e,t){z.call(this,e,t<<24>>24)}},!0)}else s=function(e){mc(this,s,i);var t=Hu(e);this._b=Ws.call(new Array(t),0),this[w]=t},l=function(e,t,n){mc(this,l,o),mc(e,s,o);var r=e[w],i=ot(t);if(i<0||r>24},getUint8:function(e){return N(this,1,e)[0]},getInt16:function(e){var t=N(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=N(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return x(N(this,4,e,arguments[1]))},getUint32:function(e){return x(N(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return E(N(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return E(N(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){F(this,1,e,S,t)},setUint8:function(e,t){F(this,1,e,S,t)},setInt16:function(e,t){F(this,2,e,P,t,arguments[2])},setUint16:function(e,t){F(this,2,e,P,t,arguments[2])},setInt32:function(e,t){F(this,4,e,T,t,arguments[2])},setUint32:function(e,t){F(this,4,e,T,t,arguments[2])},setFloat32:function(e,t){F(this,4,e,D,t,arguments[2])},setFloat64:function(e,t){F(this,8,e,O,t,arguments[2])}});_n(s,i),_n(l,o),Ke(l[a],zu.VIEW,!0),t[i]=s,t[o]=l}),Wu=Object.freeze({default:Vu,__moduleExports:Vu}),Qu=Wu&&Vu||Wu,$u=Ye.ArrayBuffer,Uu=Qu.ArrayBuffer,Yu=Qu.DataView,qu=zu.ABV&&$u.isView,Ju=Uu.prototype.slice,Gu=zu.VIEW,Xu="ArrayBuffer";yn(yn.G+yn.W+yn.F*($u!==Uu),{ArrayBuffer:Uu}),yn(yn.S+yn.F*!zu.CONSTR,Xu,{isView:function(e){return qu&&qu(e)||Ue(e)&&Gu in e}}),yn(yn.P+yn.U+yn.F*$e(function(){return!new Uu(2).slice(1,void 0).byteLength}),Xu,{slice:function(e,t){if(void 0!==Ju&&void 0===t)return Ju.call(x(this),e);for(var n=x(this).byteLength,r=dt(e,n),i=dt(void 0===t?n:t,n),o=new(Ac(this,Uu))(ut(i-r)),a=new Yu(this),s=new Yu(o),l=0;r=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}}),yn(yn.S,"Reflect",{enumerate:function(e){return new ld(e)}}),yn(yn.S,"Reflect",{get:function e(t,n){var r,i,o=arguments.length<3?t:arguments[2];return x(t)===o?t[n]:(r=En.f(t,n))?Ze(r,"value")?r.value:void 0!==r.get?r.get.call(o):void 0:Ue(i=fr(t))?e(i,n,o):void 0}}),yn(yn.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return En.f(x(e),t)}}),yn(yn.S,"Reflect",{getPrototypeOf:function(e){return fr(x(e))}}),yn(yn.S,"Reflect",{has:function(e,t){return t in e}});var cd=Object.isExtensible;yn(yn.S,"Reflect",{isExtensible:function(e){return x(e),!cd||cd(e)}});var ud=Ye.Reflect,dd=ud&&ud.ownKeys||function(e){var t=an.f(x(e)),n=Rt.f;return n?t.concat(n(e)):t},hd=Object.freeze({default:dd,__moduleExports:dd}),pd=hd&&dd||hd;yn(yn.S,"Reflect",{ownKeys:pd});var fd=Object.preventExtensions;yn(yn.S,"Reflect",{preventExtensions:function(e){x(e);try{return fd&&fd(e),!0}catch(e){return!1}}}),yn(yn.S,"Reflect",{set:function e(t,n,r){var i,o,a=arguments.length<4?t:arguments[3],s=En.f(x(t),n);if(!s){if(Ue(o=fr(t)))return e(o,n,r,a);s=Xe(0)}return Ze(s,"value")?!(!1===s.writable||!Ue(a)||((i=En.f(a,n)||Xe(0)).value=r,Ge.f(a,n,i),0)):void 0!==s.set&&(s.set.call(a,r),!0)}}),Or&&yn(yn.S,"Reflect",{setPrototypeOf:function(e,t){Or.check(e,t);try{return Or.set(e,t),!0}catch(e){return!1}}});var vd=yt(!0);yn(yn.P,"Array",{includes:function(e){return vd(this,e,1l&&(c=c.slice(0,l)),r?c+i:i+c},wd=Object.freeze({default:bd,__moduleExports:bd}),kd=Ye.navigator,Cd=kd&&kd.userAgent||"",Ed=Object.freeze({default:Cd,__moduleExports:Cd}),xd=wd&&bd||wd,Sd=Ed&&Cd||Ed;yn(yn.P+yn.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(Sd),"String",{padStart:function(e){return xd(this,e,1s;)void 0!==(n=i(r,t=o[s++]))&&Za(a,t,n);return a}});var Od=Lt.f,Dd=function(s){return function(e){for(var t,n=ct(e),r=Mt(n),i=r.length,o=0,a=[];o>>0,o=n>>>0;return(t>>>0)+(r>>>0)+((i&o|(i|o)&~(i+o>>>0))>>>31)|0}}),yn(yn.S,"Math",{isubh:function(e,t,n,r){var i=e>>>0,o=n>>>0;return(t>>>0)-(r>>>0)-((~i&o|~(i^o)&i-o>>>0)>>>31)|0}}),yn(yn.S,"Math",{imulh:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r,a=n>>16,s=r>>16,l=(a*o>>>0)+(i*o>>>16);return a*s+(l>>16)+((i*s>>>0)+(65535&l)>>16)}}),yn(yn.S,"Math",{RAD_PER_DEG:180/Math.PI});var rh=Math.PI/180;yn(yn.S,"Math",{radians:function(e){return e*rh}}),yn(yn.S,"Math",{scale:nh}),yn(yn.S,"Math",{umulh:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r,a=n>>>16,s=r>>>16,l=(a*o>>>0)+(i*o>>>16);return a*s+(l>>>16)+((i*s>>>0)+(65535&l)>>>16)}}),yn(yn.S,"Math",{signbit:function(e){return(e=+e)!=e?e:0==e?1/e==1/0:0"+this.innerHTML+""},set:function(e){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(v.body.innerHTML=e,e=this.ownerDocument.createDocumentFragment();v.body.firstChild;)o.call(e,v.body.firstChild);p.call(this.parentNode,e,this)},configurable:!0})};A(l.prototype),b(l.prototype),l.b=function(e){for(var t,n=0,r=(e=c(e,"template")).length;n]/g,C=function(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},E=(y=function(e){for(var t={},n=0;n";break e;case Node.TEXT_NODE:s=s.data,s=l&&x[l.localName]?s:s.replace(k,C);break e;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break e;default:throw window.console.error(s),Error("not implemented")}}r+=s}return r}}if(n||e){l.a=function(e,t){var n=i.call(e,!1);return this.R&&this.R(n),t&&(o.call(n.content,i.call(e.content,!0)),P(n.content,e.content)),n};var P=function(e,t){if(t.querySelectorAll&&0!==(t=c(t,"template")).length)for(var n,r,i=0,o=(e=c(e,"template")).length;i]/g;function Ge(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function Xe(e){for(var t={},n=0;n";break e;case Node.TEXT_NODE:s=s.data,s=l&&Ze[l.localName]?s:s.replace(Je,Ge);break e;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break e;default:throw window.console.error(s),Error("not implemented")}}r+=s}return r}var tt={},nt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),rt=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);function it(e){var t=[];for(nt.currentNode=e,e=nt.firstChild();e;)t.push(e),e=nt.nextSibling();return t}tt.parentNode=function(e){return nt.currentNode=e,nt.parentNode()},tt.firstChild=function(e){return nt.currentNode=e,nt.firstChild()},tt.lastChild=function(e){return nt.currentNode=e,nt.lastChild()},tt.previousSibling=function(e){return nt.currentNode=e,nt.previousSibling()},tt.nextSibling=function(e){return nt.currentNode=e,nt.nextSibling()},tt.childNodes=it,tt.parentElement=function(e){return rt.currentNode=e,rt.parentNode()},tt.firstElementChild=function(e){return rt.currentNode=e,rt.firstChild()},tt.lastElementChild=function(e){return rt.currentNode=e,rt.lastChild()},tt.previousElementSibling=function(e){return rt.currentNode=e,rt.previousSibling()},tt.nextElementSibling=function(e){return rt.currentNode=e,rt.nextSibling()},tt.children=function(e){var t=[];for(rt.currentNode=e,e=rt.firstChild();e;)t.push(e),e=rt.nextSibling();return t},tt.innerHTML=function(e){return et(e,function(e){return it(e)})},tt.textContent=function(e){switch(e.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:e=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null,!1);for(var t,n="";t=e.nextNode();)n+=t.nodeValue;return n;default:return e.nodeValue}};var ot={},at=ie.I,st=[Node.prototype,Element.prototype,HTMLElement.prototype];function lt(e){var t;e:{for(t=0;tr.assignedNodes.length&&(r.da=!0)}r.da&&(r.da=!1,vn(this,e))}for(t=this.m,e=[],r=0;r "+t}))}return{value:e=e.replace(ji,function(e,t,n){return'[dir="'+n+'"] '+t+", "+t+'[dir="'+n+'"]'}),Sa:t,stop:l}}(n,t,r,i),o=o||e.stop,t=e.Sa,n=e.value),t+n}),t&&(e=Ei(e)),e},_i.prototype.c=function(e){return e.match(Mi)?this.b(e,Ti):xi(e.trim(),Ti)},r.Object.defineProperties(_i.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Pi=/:(nth[-\w]+)\(([^)]+)\)/,Ti=":not(.style-scope)",Oi=",",Di=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Ii=/[[.:#*]/,Ni=":host",Fi=":root",Mi="::slotted",Ri=new RegExp("^("+Mi+")"),Li=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Bi=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ji=/(.*):dir\((?:(ltr|rtl))\)/,zi=".",Hi=":",Vi="class",Wi="should_not_match",Qi=new _i;function $i(e,t,n,r){this.K=e||null,this.b=t||null,this.sa=n||[],this.T=null,this.X=r||"",this.a=this.H=this.O=null}function Ui(e){return e?e.__styleInfo:null}function Yi(e,t){return e.__styleInfo=t}function qi(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)}$i.prototype._getStyleRules=$i.prototype.c=function(){return this.K};var Ji=navigator.userAgent.match("Trident");function Gi(){}function Xi(e){if(!e.B){var t={},n={};Ki(e,n)&&(t.J=n,e.rules=null),t.cssText=e.parsedCssText.replace(li,"").replace(ri,""),e.B=t}}function Ki(e,t){var n=e.B;if(!n){n=e.parsedCssText;for(var r;e=ri.exec(n);)"inherit"===(r=(e[2]||e[3]).trim())&&"unset"===r||(t[e[1].trim()]=r),r=!0;return r}if(n.J)return Object.assign(t,n.J),!0}function Zi(i,e,o){return e&&(e=0<=e.indexOf(";")?eo(i,e,o):function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");e:{for(var i=0,o=r+3,a=t.length;o *"===o||"html"===o,s=0===o.indexOf(":host")&&!a;"shady"===n&&(s=!(a=o===i+" > *."+i||-1!==o.indexOf("html"))&&0===o.indexOf(i)),"shadow"===n&&(a=":host > *"===o||"html"===o,s=s&&!a),(a||s)&&(n=i,s&&(t.G||(t.G=Ci(Qi,t,Qi.b,e?zi+e:"",i)),n=t.G||i),l={Za:n,Wa:s,wb:a},qi.call(u.kb||u,l.Za)&&(l.Wa?Ki(c,d):Ki(c,h)))}var l}(u,c,t)},null,!0),{Ya:h,Va:d}}function no(t){return function(e){return e.replace(t.F,t.a)}}function ro(e,n){var r=io,t=di(e);e.textContent=ui(t,function(e){var t=e.cssText=e.parsedCssText;e.B&&e.B.cssText&&(t=t.replace(qr,"").replace(Jr,""),e.cssText=eo(r,t,n))})}r.Object.defineProperties(Gi.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var io=new Gi,oo={},ao=window.customElements;if(ao&&!ei){var so=ao.define;ao.define=function(e,t,n){var r=document.createComment(" Shady DOM styles for "+e+" "),i=document.head;i.insertBefore(r,(vi?vi.nextSibling:null)||i.firstChild),vi=r,oo[e]=r,so.call(ao,e,t,n)}}function lo(){this.cache={}}function co(){}function uo(e){for(var t=0;t+~])"),d=function(e,t){e=e.b;var n={};if(!ei&&e)for(var r=0,i=e[r];r. Ignoring the key on this element.Make sure each tt-for item has a unique key. See also: https://developer.toutiao.com/docs/framework/ttml_list_render.html#tt-key"),e.key=void 0}else s[n]=1}t.push(e)}else if(k(e))for(var i=0;iMath.abs(e.pageY-J.pageY)&&(e.__frozenBySwipeBack=G=!0)},!0)}function X(e,t,n){this.type=Number(e),this.vNode=t,this.patch=n}function K(e,t,n){return e.splice(t,1),{from:t,key:n}}function Z(e){for(var t={},n=[],r=e.length,i=0;i>0],r===i)return t<=a&&a<=n;if(a=s++?null:e.childNodes[o.to])}(t,e.patch):e.type===X.REMOVE?(u=(c=t).parentNode)&&u.removeChild(c):e.type===X.INSERT?(s=t,l=e.patch,s&&s.appendChild(q(l))):e.type===X.VNODE?(i=t,o=e.patch,(a=i.parentNode)&&a.replaceChild(q(o),i)):e.type===X.COMMENT?(n=t,r=e.patch.text,n.textContent=r):console.error("TypeError when apply patch with unknown type: "+e.type)}function re(e,n){var t=[];for(var r in n)"a"!==r&&t.push(Number(r));if(0!==t.length){var i=function e(t,n,r){var i=3=i.length?t.length:i[l],v=0;v",e.querySelector(ke).appendChild(i)};var ke="#__style_node__",Ce=window.ttJSCore={invoke:function(t,e,n){try{l(t,JSON.parse(e),function(e){ttJSBridge.invokeHandler(n,e)})}catch(e){ttJSBridge.invokeHandler(n,{errMsg:t+": api call occor error."})}},publish:function(e,t){var n;b(we(n="string"==typeof(n=t)?JSON.parse(n):n,"widgetInstanceID")||we(n,"data.widgetInstanceID")||we(n,"data.args.widgetInstanceID")||we(n,"data.data.currentTarget.dataset.widgetInstanceId")||we(n,"data.data.target.dataset.widgetInstanceId"),{ev:e,paramString:t,type:"publish"})},onDocumentReady:function(e){!function(e){console.info("Widget domReady",e);var t=e.detail.context;a=t.widget,a.widgetID=a.cardId,a.appID=a.appId,a.instanceID=a.contextId,n=t,r=Ce,i=n.widget.instanceID,o=new be(n,r),Ae.set(i,o),function(t,n){var r,i,o,a,s;regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:r=t.widget,i=r.instanceID,o=r.widgetID,a=r.bundleBase,s=new A(n,i),_.set(i,s),s.postMessage({type:"init",data:{widgetInstanceID:i,widgetID:o,bundleBase:a}});case 4:case"end":return e.stop()}},null,this)}(t,Ce);var n,r,i,o;var a}(e)},onWorkerReady:function(e){var t,n;t=e.widgetInstanceID,(n=be.instance(t))?n.requestWidgetViewUpdate(_e):console.warn("Widget view not found with instanceID: ",t)}};function Ee(e){var n="";return"string"==typeof e&&(e=[e]),e.forEach(function(e){var t;"number"==typeof e&&(e=(0===(t=e)?0:~~(t/2)||1)+"px"),n+=e}),n}document.addEventListener("onToWorkerCustomEvent",function(e){var t=e.detail,n=t.eventName,r=t.instanceId,i=t.payload;window.workerSubscribeHandler(n,d({widgetInstanceID:r},i))}),document.addEventListener("widgetDataChange",function(e){(function(e,t){var n=e.data,r=e.widgetInstanceID,i=e.ext;o=r,a=n,s=i,l=be.instance(o),l?l.updateView(a,s):console.warn("Widget view not found with instanceID: ",o),"function"==typeof t&&t();var o,a,s,l}).apply(null,e.detail)}),document.addEventListener("onDestroy",function(e){!function(e){if(!e)return;var t=(e||{}).instanceId;(function(t){var n;regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=_.get(t),console.info("terminateServiceWorker: "+t),n){e.next=4;break}return e.abrupt("return");case 4:n.ttJSCore.publish("widgetDestroy",{data:{widgetInstanceID:t}}),_.delete(t);case 6:case"end":return e.stop()}},null,this)})(t),n=t,Ae.has(n)&&Ae.delete(n);var n}(e.detail)}),function(Re){Re.jsRuntime="webview";var e=function(e){function o(e,t,n){if(!(e>8-o%1*8)){if(255<(n=r.charCodeAt(o+=.75)))throw new Error('"btoa" failed');t=t<<8|n}return i},V=V||function(e){var t=String(e).replace(/=+$/,""),n="";if(t.length%4==1)throw new Error('"atob" failed');for(var r,i,o=0,a=0;i=t.charAt(a++);~i&&(r=o%4?64*r+i:i,o++%4)?n+=String.fromCharCode(255&r>>(-2*o&6)):0)i=z.indexOf(i);return n},W={new:a,get:s,pack:function(e){if(!1===c("Object")(e))return e;var t=[];for(var n in e){var r=e[n];if(void 0!==r&&r instanceof ArrayBuffer&&void 0!==r.byteLength){var i=a(r);i.key=n,t.push(i)}}if(0this._maxListeners&&(i._listeners.warned=!0,h.call(this,i._listeners.length,o))):i._listeners=t,!0;o=e.shift()}return!0}.call(this,e,t):this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),n?this._events[e].unshift(t):this._events[e].push(t),!this._events[e].warned&&0this._maxListeners&&(this._events[e].warned=!0,h.call(this,this._events[e].length,e))):this._events[e]=t,this},p.prototype.off=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");var n,r=[];if(this.wildcard){var i="string"==typeof e?e.split(this.delimiter):e.slice();r=v.call(this,null,i,this.listenerTree,0)}else{if(!this._events[e])return this;n=this._events[e],r.push({_listeners:n})}for(var o=0;oc.source.length&&"property"==l.kind&&!l.isCompound&&s.__isPropertyEffectsClient&&s.__dataHasAccessor&&s.__dataHasAccessor[l.target]){var u=n[t];t=et(c.source,l.target,t),s._setPendingPropertyOrPath(t,u,!1,!0)&&e._enqueueClient(s)}else{!function(e,t,n,r,i){i=function(e,t,n,r){if(n.isCompound){var i=e.__dataCompoundStorage[n.target];i[r.compoundIndex]=t,t=i.join("")}return"attribute"!==n.kind&&("textContent"!==n.target&&("value"!==n.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,i,n,r),Fe&&(i=Fe(i,n.target,n.kind,t));if("attribute"==n.kind)e._valueToNodeAttribute(t,i,n.target);else{var o=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[o]?t[Ft.READ_ONLY]&&t[Ft.READ_ONLY][o]||t._setPendingProperty(o,i)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,o,i)}}(e,s,l,c,i.evaluator._evaluateBinding(e,c,t,n,r,o))}}function qt(e,t){if(t.isCompound){for(var n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,i=new Array(r.length),o=0;or&&n.push({literal:e.slice(r,i.index)});var o=i[1][0],a=Boolean(i[2]),s=i[3].trim(),l=!1,c="",u=-1;"{"==o&&0<(u=s.indexOf("::"))&&(c=s.substring(u+2),s=s.substring(0,u),l=!0);var d=tn(s),h=[];if(d){for(var p=d.args,f=d.methodName,v=0;v\n :host {\n display: block;\n white-space: normal;\n }\n\n :host([ hidden ]) {\n display: none!important;\n }\n\n #main {\n /* ios12 special */\n text-decoration: inherit;\n }\n '],['']),En=window.navigator.userAgent.match(/iPhone OS 11_[34]/),xn=function(e){function t(){return u(this,t),y(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),a(t,[{key:"ready",value:function(){p(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"ready",this).call(this),En&&(this.$.main.style.textDecoration="inherit")}}],[{key:"template",get:function(){return hn(Cn)}},{key:"is",get:function(){return"card-tt-view"}}]),t}(kn(vn(pn)));window.customElements.define(xn.is,xn);var Sn=function(n){return function(e){function t(){return u(this,t),y(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,n),a(t,[{key:"touchtrack",value:function(e,i,n){var o=this,a=0,s=0,l=0,c=0,r=function(e,t,n,r){if(!1===o[i].call(o,{target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:t,x:n,y:r,dx:n-a,dy:r-s,ddx:n-l,ddy:r-c,timeStamp:e.timeStamp}}))return!1},u=null;e.addEventListener("touchstart",function(e){1!==e.touches.length||u||(a=l=(u=e).touches[0].pageX,s=c=e.touches[0].pageY,r(e,"start",a,s))}),e.addEventListener("touchmove",function(e){if(1===e.touches.length&&u){var t=r(e,"move",e.touches[0].pageX,e.touches[0].pageY);return l=e.touches[0].pageX,c=e.touches[0].pageY,t}}),e.addEventListener("touchend",function(e){if(0===e.touches.length&&u)return u=null,r(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}),e.addEventListener("touchcancel",function(e){if(u){var t=u;return u=null,r(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}}]),t}()},Pn=function(){function r(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function o(e){return 3*e}function l(e,t,n){return((r(t,n)*e+i(t,n))*e+o(t))*e}function c(e,t,n){return 3*r(t,n)*e*e+2*i(t,n)*e+o(t)}return function(o,t,a,n){if(0<=o&&o<=1&&0<=a&&a<=1){var s=new Float32Array(11);if(o!==t||a!==n)for(var e=0;e<11;++e)s[e]=l(.1*e,o,a);return function(e){return o===t&&a===n?e:0===e?0:1===e?1:l(r(e),t,n)}}function r(e){for(var t=0,n=1;10!==n&&s[n]<=e;++n)t+=.1;var r=t+(e-s[--n])/(s[n+1]-s[n])*.1,i=c(r,o,a);return.001<=i?function(e,t,n,r){for(var i=0;i<4;++i){var o=c(t,n,r);if(0===o)return t;t-=(l(t,n,r)-e)/o}return t}(e,r,o,a):0===i?r:function(e,t,n,r,i){for(var o=void 0,a=void 0,s=0;0<(o=l(a=t+(n-t)/2,r,i)-e)?n=a:t=a,1e-7\n :host {\n display: block;\n width: 100%;\n }\n\n :host([ hidden ]) {\n display: none;\n }\n\n .scroll {\n position: relative;\n -webkit-overflow-scrolling: touch;\n height: 100%;\n /* display: flex; 时在安卓下会导致scrollWidth和offsetWidth一样 */\n width: 100%;\n max-height: inherit;\n }\n\n .scroll::-webkit-scrollbar {\n display: none;\n }\n\n \n\n
\n
\n
\n \n
\n
\n
\n '],['\n \n\n
\n
\n
\n \n
\n
\n
\n ']),On=Pn(0,0,.58,1),Dn=_n(),In=function(e){function t(){return u(this,t),y(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),a(t,[{key:"ready",value:function(){var e=this;p(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"ready",this).call(this),mn().iphone&&document.addEventListener("onKeyboardShow",function(){e.__hasKeyboard=!0}),this.touchtrack(this.$.main,"_handleTrack"),this.__pageRerender=this._pageRerender.bind(this)}},{key:"connectedCallback",value:function(){var n=this;if(p(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"connectedCallback",this).call(this),this._attached=!0,this._lastScrollTop=this.scrollTop||0,this._lastScrollLeft=this.scrollLeft||0,this._lastScrollToUpperTime=0,this._lastScrollToLowerTime=0,this._scrollXChanged(this.scrollX),this._scrollYChanged(this.scrollY),this._scrollTopChanged(this.scrollTop),this._scrollLeftChanged(this.scrollLeft),this._scrollIntoViewChanged(this.scrollIntoView),this.__handleTouchMove=function(e){n.__rafId&&(n.__currentAnimCanceled=!0,setTimeout(function(){n.__currentAnimCanceled=!1},50))},this.__handleTouchStart=function(e){var t=n.$.main;t.scrollHeight>t.offsetHeight&&n.invoke("disableScrollBounce",{disable:!0})},this.__handleTouchEnd=function(){n.invoke("disableScrollBounce",{disable:!1})},this.__handleScroll=function(e){e.preventDefault(),e.stopPropagation(),n._handleScroll(e),document.dispatchEvent(new CustomEvent("tt-scroll-view")),n.__hasKeyboard&&(n.__hasKeyboard=!1,n.invoke("endEditing"))},this.$.main.addEventListener("touchstart",this.__handleTouchStart),this.$.main.addEventListener("touchmove",this.__handleTouchMove),this.$.main.addEventListener("touchend",this.__handleTouchEnd),this.$.main.addEventListener("scroll",this.__handleScroll),mn().iphone){var e=document.getElementById("__scroll_view_hack");e&&e.parentNode.removeChild(e),(e=document.createElement("div")).setAttribute("style","position: fixed; left: 0; bottom: 0; line-height: 1; font-size: 1px; z-index: 10000; border-radius: 4px; box-shadow: 0 0 8px rgba(0,0,0,.4); width: 1px; height: 1px; overflow: hidden;"),e.innerText=".",e.id="__scroll_view_hack",document.documentElement.appendChild(e)}}},{key:"disconnectedCallback",value:function(){p(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"disconnectedCallback",this).call(this),this.$.main.removeEventListener("scroll",this.__handleScroll),this.$.main.removeEventListener("touchstart",this.__handleTouchStart),this.$.main.removeEventListener("touchmove",this.__handleTouchMove),this.$.main.removeEventListener("touchend",this.__handleTouchEnd)}},{key:"scrollTo",value:function(t,n){var r,i,o,a;return regeneratorRuntime.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.__rafId)return e.abrupt("return");e.next=2;break;case 2:if(r=this.$.main,i=this.$.content,t<0?t=0:"x"===n&&t>r.scrollWidth-r.offsetWidth?t=r.scrollWidth-r.offsetWidth:"y"===n&&t>r.scrollHeight-r.offsetHeight&&(t=r.scrollHeight-r.offsetHeight),o=0,"x"===n?o=r.scrollLeft-t:"y"===n&&(o=r.scrollTop-t),0!==o)return a=function(){return""},"x"===n?a=function(e){return"translateX("+e+"px) translateZ(0)"}:"y"===n&&(a=function(e){return"translateY("+e+"px) translateZ(0)"}),this.__transitionEnd=this._transitionEnd.bind(this,t,n),"x"===n?"ios"!=Dn&&(r.style.overflowX="hidden"):"y"===n&&(r.style.overflowY="hidden"),e.next=14,regeneratorRuntime.awrap(this._doScrollTopChangeAnimate(i,o,a));e.next=15;break;case 14:this.__transitionEnd();case 15:case"end":return e.stop()}},null,this)}},{key:"_doScrollTopChangeAnimate",value:function(s,l,c){var u=this;return new Promise(function(i){u.__rafId=null;var o=void 0,a=function(){var e=0=r&&c&&200=i&&d&&200").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")),e}}]),r}(HTMLElement);function Mn(e,t,n,r,i){var o=void 0;i&&(o="object"==typeof n&&null!==n)&&(r=e.__dataTemp[t]);var a=r!==n&&(r==r||n==n);return o&&a&&(e.__dataTemp[t]=n),a}window.customElements.define(Fn.is,Fn);var Rn=Le(function(n){return function(e){function t(){return u(this,t),y(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,n),a(t,[{key:"_shouldPropertyChange",value:function(e,t,n){return Mn(this,e,t,n,!0)}}]),t}()}),Ln=Le(function(n){return function(e){function t(){return u(this,t),y(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,n),a(t,[{key:"_shouldPropertyChange",value:function(e,t,n){return Mn(this,e,t,n,this.mutableData)}}],[{key:"properties",get:function(){return{mutableData:Boolean}}}]),t}()});Rn._mutablePropertyChange=Mn;var Bn=null;function jn(){return Bn}jn.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:jn,writable:!0}});var zn=an(jn),Hn=Rn(zn);var Vn=an(function e(){u(this,e)}),Wn=function(e){function o(e){u(this,o);var t=y(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));t._configureProperties(e),t.root=t._stampTemplate(t.__dataHost);for(var n=t.children=[],r=t.root.firstChild;r;r=r.nextSibling)n.push(r),r.__templatizeInstance=t;t.__templatizeOwner&&t.__templatizeOwner.__hideTemplateChildren__&&t._showHideChildren(!0);var i=t.__templatizeOptions;return(e&&i.instanceProps||!i.instanceProps)&&t._enableProperties(),t}return f(o,Vn),a(o,[{key:"_configureProperties",value:function(e){if(this.__templatizeOptions.forwardHostProp)for(var t in this.__hostProps)this._setPendingProperty(t,this.__dataHost["_host_"+t]);for(var n in e)this._setPendingProperty(n,e[n])}},{key:"forwardHostProp",value:function(e,t){this._setPendingPropertyOrPath(e,t,!1,!0)&&this.__dataHost._enqueueClient(this)}},{key:"_addEventListenerToNode",value:function(e,t,n){var r=this;if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(e,t,function(e){e.model=r,n(e)});else{var i=this.__dataHost.__dataHost;i&&i._addEventListenerToNode(e,t,n)}}},{key:"_showHideChildren",value:function(e){for(var t=this.children,n=0;n can only be templatized once");var r=((e.__templatizeOwner=t)?t.constructor:Wn)._parseTemplate(e),i=r.templatizeInstanceClass;i||(i=$n(e,r,n),r.templatizeInstanceClass=i),Un(e,r,n);var o,a=function(e){function t(){return u(this,t),y(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,i),t}();return a.prototype._methodHost=(o=e.__dataHost)&&o._methodHost||o,a.prototype.__dataHost=e,a.prototype.__templatizeOwner=t,a.prototype.__hostProps=r.hostProps,a=a}var Gn=function(){function r(){u(this,r),this._asyncModule=null,this._callback=null,this._timer=null}return a(r,[{key:"setConfig",value:function(e,t){var n=this;this._asyncModule=e,this._callback=t,this._timer=this._asyncModule.run(function(){n._timer=null,n._callback()})}},{key:"cancel",value:function(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}},{key:"flush",value:function(){this.isActive()&&(this.cancel(),this._callback())}},{key:"isActive",value:function(){return null!=this._timer}}],[{key:"debounce",value:function(e,t,n){return e instanceof r?e.cancel():e=new r,e.setConfig(t,n),e}}]),r}(),Xn=[],Kn=function(e){Xn.push(e)};function Zn(){for(var e=Boolean(Xn.length);Xn.length;)try{Xn.shift().flush()}catch(e){setTimeout(function(){throw e})}return e}var er=function(){for(var e=void 0,t=void 0;e=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),t=Zn(),e||t;);},tr=function(e){function t(){u(this,t);var e=y(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.__renderDebouncer=null,e.__invalidProps=null,e.__instance=null,e._lastIf=!1,e.__ctor=null,e}return f(t,pn),a(t,null,[{key:"is",get:function(){return"dom-if"}},{key:"template",get:function(){return null}},{key:"properties",get:function(){return{if:{type:Boolean,observer:"__debounceRender"},restamp:{type:Boolean,observer:"__debounceRender"}}}}]),a(t,[{key:"__debounceRender",value:function(){var e=this;this.__renderDebouncer=Gn.debounce(this.__renderDebouncer,mt,function(){return e.__render()}),Kn(this.__renderDebouncer)}},{key:"disconnectedCallback",value:function(){p(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"disconnectedCallback",this).call(this),this.parentNode&&(this.parentNode.nodeType!=Node.DOCUMENT_FRAGMENT_NODE||this.parentNode.host)||this.__teardownInstance()}},{key:"connectedCallback",value:function(){p(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"connectedCallback",this).call(this),this.style.display="none",this.if&&this.__debounceRender()}},{key:"render",value:function(){er()}},{key:"__render",value:function(){if(this.if){if(!this.__ensureInstance())return;this._showHideChildren()}else this.restamp&&this.__teardownInstance();!this.restamp&&this.__instance&&this._showHideChildren(),this.if!=this._lastIf&&(this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0})),this._lastIf=this.if)}},{key:"__ensureInstance",value:function(){var e=this,t=this.parentNode;if(t){if(!this.__ctor){var n=this.querySelector("template");if(!n){var r=new MutationObserver(function(){if(!e.querySelector("template"))throw new Error("dom-if requires a