@ukpc-lib/react 0.1.29 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.cjs +3 -3
- package/dist/components/index.d.ts +1 -16
- package/dist/components/index.js +64 -63
- package/dist/components/main.d.ts +16 -0
- package/dist/index.css +1 -1
- package/package.json +1 -1
- package/web-components-bundle/global-menu/index.cjs +2 -38
- package/web-components-bundle/global-menu/index.js +4 -7682
- package/web-components-bundle/global-topbar/index.cjs +1 -2
- package/web-components-bundle/global-topbar/index.js +1 -2
- package/web-components-bundle/has-permission/index.cjs +1046 -0
- package/web-components-bundle/has-permission/index.js +17744 -0
- package/web-components-bundle/index-78b82a5c.js +7699 -0
- package/web-components-bundle/index-fdee8d7a.cjs +38 -0
- package/web-components-bundle/{react-to-web-component-e10d811d.cjs → react-to-web-component-287abfaf.cjs} +17 -17
- package/web-components-bundle/{react-to-web-component-3a9dbdde.js → react-to-web-component-8933be15.js} +202 -178
|
@@ -0,0 +1,1046 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const J=require("../react-to-web-component-287abfaf.cjs");require("../global-topbar/index.cjs");const ve=require("../index-fdee8d7a.cjs");function $g(e){var t,r,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=$g(e[t]))&&(a&&(a+=" "),a+=r)}else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}function Xn(){for(var e,t,r=0,a="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=$g(e))&&(a&&(a+=" "),a+=t);return a}const cx={black:"#000",white:"#fff"},Va=cx,fx={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},$s=fx,dx={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Fs=dx,hx={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ys=hx,px={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Ws=px,gx={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Bs=gx,mx={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ba=mx,yx={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},vx=yx;function Ga(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const bx=Object.freeze(Object.defineProperty({__proto__:null,default:Ga},Symbol.toStringTag,{value:"Module"})),Fg="$$material";function Yg(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var _x=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,wx=Yg(function(e){return _x.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function xx(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Sx(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var kx=function(){function e(r){var a=this;this._insertTag=function(o){var c;a.tags.length===0?a.insertionPoint?c=a.insertionPoint.nextSibling:a.prepend?c=a.container.firstChild:c=a.before:c=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(o,c),a.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(a){a.forEach(this._insertTag)},t.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Sx(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var c=xx(o);try{c.insertRule(a,c.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(a));this.ctr++},t.flush=function(){this.tags.forEach(function(a){return a.parentNode&&a.parentNode.removeChild(a)}),this.tags=[],this.ctr=0},e}(),en="-ms-",$u="-moz-",Xe="-webkit-",Wg="comm",Gf="rule",Kf="decl",Dx="@import",Bg="@keyframes",Cx="@layer",Tx=Math.abs,Gu=String.fromCharCode,Ex=Object.assign;function Mx(e,t){return qt(e,0)^45?(((t<<2^qt(e,0))<<2^qt(e,1))<<2^qt(e,2))<<2^qt(e,3):0}function Hg(e){return e.trim()}function Ax(e,t){return(e=t.exec(e))?e[0]:e}function Ze(e,t,r){return e.replace(t,r)}function Cf(e,t){return e.indexOf(t)}function qt(e,t){return e.charCodeAt(t)|0}function Ka(e,t,r){return e.slice(t,r)}function Ir(e){return e.length}function Xf(e){return e.length}function ku(e,t){return t.push(e),e}function Ox(e,t){return e.map(t).join("")}var Ku=1,Xs=1,jg=0,Sn=0,Tt=0,Zs="";function Xu(e,t,r,a,o,c,g){return{value:e,root:t,parent:r,type:a,props:o,children:c,line:Ku,column:Xs,length:g,return:""}}function Ha(e,t){return Ex(Xu("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ix(){return Tt}function Rx(){return Tt=Sn>0?qt(Zs,--Sn):0,Xs--,Tt===10&&(Xs=1,Ku--),Tt}function Pn(){return Tt=Sn<jg?qt(Zs,Sn++):0,Xs++,Tt===10&&(Xs=1,Ku++),Tt}function Nr(){return qt(Zs,Sn)}function Mu(){return Sn}function io(e,t){return Ka(Zs,e,t)}function Xa(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ug(e){return Ku=Xs=1,jg=Ir(Zs=e),Sn=0,[]}function qg(e){return Zs="",e}function Au(e){return Hg(io(Sn-1,Tf(e===91?e+2:e===40?e+1:e)))}function Px(e){for(;(Tt=Nr())&&Tt<33;)Pn();return Xa(e)>2||Xa(Tt)>3?"":" "}function Nx(e,t){for(;--t&&Pn()&&!(Tt<48||Tt>102||Tt>57&&Tt<65||Tt>70&&Tt<97););return io(e,Mu()+(t<6&&Nr()==32&&Pn()==32))}function Tf(e){for(;Pn();)switch(Tt){case e:return Sn;case 34:case 39:e!==34&&e!==39&&Tf(Tt);break;case 40:e===41&&Tf(e);break;case 92:Pn();break}return Sn}function Lx(e,t){for(;Pn()&&e+Tt!==47+10;)if(e+Tt===42+42&&Nr()===47)break;return"/*"+io(t,Sn-1)+"*"+Gu(e===47?e:Pn())}function $x(e){for(;!Xa(Nr());)Pn();return io(e,Sn)}function Fx(e){return qg(Ou("",null,null,null,[""],e=Ug(e),0,[0],e))}function Ou(e,t,r,a,o,c,g,w,k){for(var E=0,P=0,W=g,j=0,G=0,U=0,$=1,ne=1,H=1,pe=0,me="",ye=o,re=c,ie=a,d=me;ne;)switch(U=pe,pe=Pn()){case 40:if(U!=108&&qt(d,W-1)==58){Cf(d+=Ze(Au(pe),"&","&\f"),"&\f")!=-1&&(H=-1);break}case 34:case 39:case 91:d+=Au(pe);break;case 9:case 10:case 13:case 32:d+=Px(U);break;case 92:d+=Nx(Mu()-1,7);continue;case 47:switch(Nr()){case 42:case 47:ku(Yx(Lx(Pn(),Mu()),t,r),k);break;default:d+="/"}break;case 123*$:w[E++]=Ir(d)*H;case 125*$:case 59:case 0:switch(pe){case 0:case 125:ne=0;case 59+P:H==-1&&(d=Ze(d,/\f/g,"")),G>0&&Ir(d)-W&&ku(G>32?Yp(d+";",a,r,W-1):Yp(Ze(d," ","")+";",a,r,W-2),k);break;case 59:d+=";";default:if(ku(ie=Fp(d,t,r,E,P,o,w,me,ye=[],re=[],W),c),pe===123)if(P===0)Ou(d,t,ie,ie,ye,c,W,w,re);else switch(j===99&&qt(d,3)===110?100:j){case 100:case 108:case 109:case 115:Ou(e,ie,ie,a&&ku(Fp(e,ie,ie,0,0,o,w,me,o,ye=[],W),re),o,re,W,w,a?ye:re);break;default:Ou(d,ie,ie,ie,[""],re,0,w,re)}}E=P=G=0,$=H=1,me=d="",W=g;break;case 58:W=1+Ir(d),G=U;default:if($<1){if(pe==123)--$;else if(pe==125&&$++==0&&Rx()==125)continue}switch(d+=Gu(pe),pe*$){case 38:H=P>0?1:(d+="\f",-1);break;case 44:w[E++]=(Ir(d)-1)*H,H=1;break;case 64:Nr()===45&&(d+=Au(Pn())),j=Nr(),P=W=Ir(me=d+=$x(Mu())),pe++;break;case 45:U===45&&Ir(d)==2&&($=0)}}return c}function Fp(e,t,r,a,o,c,g,w,k,E,P){for(var W=o-1,j=o===0?c:[""],G=Xf(j),U=0,$=0,ne=0;U<a;++U)for(var H=0,pe=Ka(e,W+1,W=Tx($=g[U])),me=e;H<G;++H)(me=Hg($>0?j[H]+" "+pe:Ze(pe,/&\f/g,j[H])))&&(k[ne++]=me);return Xu(e,t,r,o===0?Gf:w,k,E,P)}function Yx(e,t,r){return Xu(e,t,r,Wg,Gu(Ix()),Ka(e,2,-2),0)}function Yp(e,t,r,a){return Xu(e,t,r,Kf,Ka(e,0,a),Ka(e,a+1,-1),a)}function qs(e,t){for(var r="",a=Xf(e),o=0;o<a;o++)r+=t(e[o],o,e,t)||"";return r}function Wx(e,t,r,a){switch(e.type){case Cx:if(e.children.length)break;case Dx:case Kf:return e.return=e.return||e.value;case Wg:return"";case Bg:return e.return=e.value+"{"+qs(e.children,a)+"}";case Gf:e.value=e.props.join(",")}return Ir(r=qs(e.children,a))?e.return=e.value+"{"+r+"}":""}function Bx(e){var t=Xf(e);return function(r,a,o,c){for(var g="",w=0;w<t;w++)g+=e[w](r,a,o,c)||"";return g}}function Hx(e){return function(t){t.root||(t=t.return)&&e(t)}}var jx=function(t,r,a){for(var o=0,c=0;o=c,c=Nr(),o===38&&c===12&&(r[a]=1),!Xa(c);)Pn();return io(t,Sn)},Ux=function(t,r){var a=-1,o=44;do switch(Xa(o)){case 0:o===38&&Nr()===12&&(r[a]=1),t[a]+=jx(Sn-1,r,a);break;case 2:t[a]+=Au(o);break;case 4:if(o===44){t[++a]=Nr()===58?"&\f":"",r[a]=t[a].length;break}default:t[a]+=Gu(o)}while(o=Pn());return t},qx=function(t,r){return qg(Ux(Ug(t),r))},Wp=new WeakMap,zx=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,a=t.parent,o=t.column===a.column&&t.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Wp.get(a))&&!o){Wp.set(t,!0);for(var c=[],g=qx(r,c),w=a.props,k=0,E=0;k<g.length;k++)for(var P=0;P<w.length;P++,E++)t.props[E]=c[k]?g[k].replace(/&\f/g,w[P]):w[P]+" "+g[k]}}},Vx=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function zg(e,t){switch(Mx(e,t)){case 5103:return Xe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Xe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Xe+e+$u+e+en+e+e;case 6828:case 4268:return Xe+e+en+e+e;case 6165:return Xe+e+en+"flex-"+e+e;case 5187:return Xe+e+Ze(e,/(\w+).+(:[^]+)/,Xe+"box-$1$2"+en+"flex-$1$2")+e;case 5443:return Xe+e+en+"flex-item-"+Ze(e,/flex-|-self/,"")+e;case 4675:return Xe+e+en+"flex-line-pack"+Ze(e,/align-content|flex-|-self/,"")+e;case 5548:return Xe+e+en+Ze(e,"shrink","negative")+e;case 5292:return Xe+e+en+Ze(e,"basis","preferred-size")+e;case 6060:return Xe+"box-"+Ze(e,"-grow","")+Xe+e+en+Ze(e,"grow","positive")+e;case 4554:return Xe+Ze(e,/([^-])(transform)/g,"$1"+Xe+"$2")+e;case 6187:return Ze(Ze(Ze(e,/(zoom-|grab)/,Xe+"$1"),/(image-set)/,Xe+"$1"),e,"")+e;case 5495:case 3959:return Ze(e,/(image-set\([^]*)/,Xe+"$1$`$1");case 4968:return Ze(Ze(e,/(.+:)(flex-)?(.*)/,Xe+"box-pack:$3"+en+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Xe+e+e;case 4095:case 3583:case 4068:case 2532:return Ze(e,/(.+)-inline(.+)/,Xe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ir(e)-1-t>6)switch(qt(e,t+1)){case 109:if(qt(e,t+4)!==45)break;case 102:return Ze(e,/(.+:)(.+)-([^]+)/,"$1"+Xe+"$2-$3$1"+$u+(qt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cf(e,"stretch")?zg(Ze(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qt(e,t+1)!==115)break;case 6444:switch(qt(e,Ir(e)-3-(~Cf(e,"!important")&&10))){case 107:return Ze(e,":",":"+Xe)+e;case 101:return Ze(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Xe+(qt(e,14)===45?"inline-":"")+"box$3$1"+Xe+"$2$3$1"+en+"$2box$3")+e}break;case 5936:switch(qt(e,t+11)){case 114:return Xe+e+en+Ze(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Xe+e+en+Ze(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Xe+e+en+Ze(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Xe+e+en+e+e}return e}var Gx=function(t,r,a,o){if(t.length>-1&&!t.return)switch(t.type){case Kf:t.return=zg(t.value,t.length);break;case Bg:return qs([Ha(t,{value:Ze(t.value,"@","@"+Xe)})],o);case Gf:if(t.length)return Ox(t.props,function(c){switch(Ax(c,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qs([Ha(t,{props:[Ze(c,/:(read-\w+)/,":"+$u+"$1")]})],o);case"::placeholder":return qs([Ha(t,{props:[Ze(c,/:(plac\w+)/,":"+Xe+"input-$1")]}),Ha(t,{props:[Ze(c,/:(plac\w+)/,":"+$u+"$1")]}),Ha(t,{props:[Ze(c,/:(plac\w+)/,en+"input-$1")]})],o)}return""})}},Kx=[Gx],Vg=function(t){var r=t.key;if(r==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function($){var ne=$.getAttribute("data-emotion");ne.indexOf(" ")!==-1&&(document.head.appendChild($),$.setAttribute("data-s",""))})}var o=t.stylisPlugins||Kx,c={},g,w=[];g=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function($){for(var ne=$.getAttribute("data-emotion").split(" "),H=1;H<ne.length;H++)c[ne[H]]=!0;w.push($)});var k,E=[zx,Vx];{var P,W=[Wx,Hx(function($){P.insert($)})],j=Bx(E.concat(o,W)),G=function(ne){return qs(Fx(ne),j)};k=function(ne,H,pe,me){P=pe,G(ne?ne+"{"+H.styles+"}":H.styles),me&&(U.inserted[H.name]=!0)}}var U={key:r,sheet:new kx({key:r,container:g,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:c,registered:{},insert:k};return U.sheet.hydrate(w),U},Gg={exports:{}},nt={};/** @license React v16.13.1
|
|
2
|
+
* react-is.production.min.js
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/var Bt=typeof Symbol=="function"&&Symbol.for,Zf=Bt?Symbol.for("react.element"):60103,Jf=Bt?Symbol.for("react.portal"):60106,Zu=Bt?Symbol.for("react.fragment"):60107,Ju=Bt?Symbol.for("react.strict_mode"):60108,Qu=Bt?Symbol.for("react.profiler"):60114,el=Bt?Symbol.for("react.provider"):60109,tl=Bt?Symbol.for("react.context"):60110,Qf=Bt?Symbol.for("react.async_mode"):60111,nl=Bt?Symbol.for("react.concurrent_mode"):60111,rl=Bt?Symbol.for("react.forward_ref"):60112,il=Bt?Symbol.for("react.suspense"):60113,Xx=Bt?Symbol.for("react.suspense_list"):60120,sl=Bt?Symbol.for("react.memo"):60115,al=Bt?Symbol.for("react.lazy"):60116,Zx=Bt?Symbol.for("react.block"):60121,Jx=Bt?Symbol.for("react.fundamental"):60117,Qx=Bt?Symbol.for("react.responder"):60118,eS=Bt?Symbol.for("react.scope"):60119;function Nn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Zf:switch(e=e.type,e){case Qf:case nl:case Zu:case Qu:case Ju:case il:return e;default:switch(e=e&&e.$$typeof,e){case tl:case rl:case al:case sl:case el:return e;default:return t}}case Jf:return t}}}function Kg(e){return Nn(e)===nl}nt.AsyncMode=Qf;nt.ConcurrentMode=nl;nt.ContextConsumer=tl;nt.ContextProvider=el;nt.Element=Zf;nt.ForwardRef=rl;nt.Fragment=Zu;nt.Lazy=al;nt.Memo=sl;nt.Portal=Jf;nt.Profiler=Qu;nt.StrictMode=Ju;nt.Suspense=il;nt.isAsyncMode=function(e){return Kg(e)||Nn(e)===Qf};nt.isConcurrentMode=Kg;nt.isContextConsumer=function(e){return Nn(e)===tl};nt.isContextProvider=function(e){return Nn(e)===el};nt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zf};nt.isForwardRef=function(e){return Nn(e)===rl};nt.isFragment=function(e){return Nn(e)===Zu};nt.isLazy=function(e){return Nn(e)===al};nt.isMemo=function(e){return Nn(e)===sl};nt.isPortal=function(e){return Nn(e)===Jf};nt.isProfiler=function(e){return Nn(e)===Qu};nt.isStrictMode=function(e){return Nn(e)===Ju};nt.isSuspense=function(e){return Nn(e)===il};nt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Zu||e===nl||e===Qu||e===Ju||e===il||e===Xx||typeof e=="object"&&e!==null&&(e.$$typeof===al||e.$$typeof===sl||e.$$typeof===el||e.$$typeof===tl||e.$$typeof===rl||e.$$typeof===Jx||e.$$typeof===Qx||e.$$typeof===eS||e.$$typeof===Zx)};nt.typeOf=Nn;Gg.exports=nt;var tS=Gg.exports,Xg=tS,nS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},rS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Zg={};Zg[Xg.ForwardRef]=nS;Zg[Xg.Memo]=rS;var iS=!0;function sS(e,t,r){var a="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):a+=o+" "}),a}var Jg=function(t,r,a){var o=t.key+"-"+r.name;(a===!1||iS===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Qg=function(t,r,a){Jg(t,r,a);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var c=r;do t.insert(r===c?"."+o:"",c,t.sheet,!0),c=c.next;while(c!==void 0)}};function aS(e){for(var t=0,r,a=0,o=e.length;o>=4;++a,o-=4)r=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(a+2)&255)<<16;case 2:t^=(e.charCodeAt(a+1)&255)<<8;case 1:t^=e.charCodeAt(a)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var oS={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},uS=/[A-Z]|^ms/g,lS=/_EMO_([^_]+?)_([^]*?)_EMO_/g,em=function(t){return t.charCodeAt(1)===45},Bp=function(t){return t!=null&&typeof t!="boolean"},uf=Yg(function(e){return em(e)?e:e.replace(uS,"-$&").toLowerCase()}),Hp=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(lS,function(a,o,c){return Rr={name:o,styles:c,next:Rr},o})}return oS[t]!==1&&!em(t)&&typeof r=="number"&&r!==0?r+"px":r};function Za(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Rr={name:r.name,styles:r.styles,next:Rr},r.name;if(r.styles!==void 0){var a=r.next;if(a!==void 0)for(;a!==void 0;)Rr={name:a.name,styles:a.styles,next:Rr},a=a.next;var o=r.styles+";";return o}return cS(e,t,r)}case"function":{if(e!==void 0){var c=Rr,g=r(e);return Rr=c,Za(e,t,g)}break}}if(t==null)return r;var w=t[r];return w!==void 0?w:r}function cS(e,t,r){var a="";if(Array.isArray(r))for(var o=0;o<r.length;o++)a+=Za(e,t,r[o])+";";else for(var c in r){var g=r[c];if(typeof g!="object")t!=null&&t[g]!==void 0?a+=c+"{"+t[g]+"}":Bp(g)&&(a+=uf(c)+":"+Hp(c,g)+";");else if(Array.isArray(g)&&typeof g[0]=="string"&&(t==null||t[g[0]]===void 0))for(var w=0;w<g.length;w++)Bp(g[w])&&(a+=uf(c)+":"+Hp(c,g[w])+";");else{var k=Za(e,t,g);switch(c){case"animation":case"animationName":{a+=uf(c)+":"+k+";";break}default:a+=c+"{"+k+"}"}}}return a}var jp=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Rr,ed=function(t,r,a){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,c="";Rr=void 0;var g=t[0];g==null||g.raw===void 0?(o=!1,c+=Za(a,r,g)):c+=g[0];for(var w=1;w<t.length;w++)c+=Za(a,r,t[w]),o&&(c+=g[w]);jp.lastIndex=0;for(var k="",E;(E=jp.exec(c))!==null;)k+="-"+E[1];var P=aS(c)+k;return{name:P,styles:c,next:Rr}},fS=function(t){return t()},tm=J.React["useInsertionEffect"]?J.React["useInsertionEffect"]:!1,dS=tm||fS,Up=tm||J.reactExports.useLayoutEffect,nm=J.reactExports.createContext(typeof HTMLElement<"u"?Vg({key:"css"}):null),hS=nm.Provider,rm=function(t){return J.reactExports.forwardRef(function(r,a){var o=J.reactExports.useContext(nm);return t(r,o,a)})},ol=J.reactExports.createContext({}),pS=rm(function(e,t){var r=e.styles,a=ed([r],void 0,J.reactExports.useContext(ol)),o=J.reactExports.useRef();return Up(function(){var c=t.key+"-global",g=new t.sheet.constructor({key:c,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),w=!1,k=document.querySelector('style[data-emotion="'+c+" "+a.name+'"]');return t.sheet.tags.length&&(g.before=t.sheet.tags[0]),k!==null&&(w=!0,k.setAttribute("data-emotion",c),g.hydrate([k])),o.current=[g,w],function(){g.flush()}},[t]),Up(function(){var c=o.current,g=c[0],w=c[1];if(w){c[1]=!1;return}if(a.next!==void 0&&Qg(t,a.next,!0),g.tags.length){var k=g.tags[g.tags.length-1].nextElementSibling;g.before=k,g.flush()}t.insert("",a,g,!1)},[t,a.name]),null});function im(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ed(t)}var ul=function(){var t=im.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},gS=wx,mS=function(t){return t!=="theme"},qp=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?gS:mS},zp=function(t,r,a){var o;if(r){var c=r.shouldForwardProp;o=t.__emotion_forwardProp&&c?function(g){return t.__emotion_forwardProp(g)&&c(g)}:c}return typeof o!="function"&&a&&(o=t.__emotion_forwardProp),o},yS=function(t){var r=t.cache,a=t.serialized,o=t.isStringTag;return Jg(r,a,o),dS(function(){return Qg(r,a,o)}),null},vS=function e(t,r){var a=t.__emotion_real===t,o=a&&t.__emotion_base||t,c,g;r!==void 0&&(c=r.label,g=r.target);var w=zp(t,r,a),k=w||qp(o),E=!k("as");return function(){var P=arguments,W=a&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(c!==void 0&&W.push("label:"+c+";"),P[0]==null||P[0].raw===void 0)W.push.apply(W,P);else{W.push(P[0][0]);for(var j=P.length,G=1;G<j;G++)W.push(P[G],P[0][G])}var U=rm(function($,ne,H){var pe=E&&$.as||o,me="",ye=[],re=$;if($.theme==null){re={};for(var ie in $)re[ie]=$[ie];re.theme=J.reactExports.useContext(ol)}typeof $.className=="string"?me=sS(ne.registered,ye,$.className):$.className!=null&&(me=$.className+" ");var d=ed(W.concat(ye),ne.registered,re);me+=ne.key+"-"+d.name,g!==void 0&&(me+=" "+g);var Le=E&&w===void 0?qp(pe):k,le={};for(var at in $)E&&at==="as"||Le(at)&&(le[at]=$[at]);return le.className=me,le.ref=H,J.reactExports.createElement(J.reactExports.Fragment,null,J.reactExports.createElement(yS,{cache:ne,serialized:d,isStringTag:typeof pe=="string"}),J.reactExports.createElement(pe,le))});return U.displayName=c!==void 0?c:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",U.defaultProps=t.defaultProps,U.__emotion_real=U,U.__emotion_base=o,U.__emotion_styles=W,U.__emotion_forwardProp=w,Object.defineProperty(U,"toString",{value:function(){return"."+g}}),U.withComponent=function($,ne){return e($,ve._extends({},r,ne,{shouldForwardProp:zp(U,ne,!0)})).apply(void 0,W)},U}},bS=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Ef=vS.bind();bS.forEach(function(e){Ef[e]=Ef(e)});let Mf;typeof document=="object"&&(Mf=Vg({key:"css",prepend:!0}));function _S(e){const{injectFirst:t,children:r}=e;return t&&Mf?J.jsxRuntimeExports.jsx(hS,{value:Mf,children:r}):r}function wS(e){return e==null||Object.keys(e).length===0}function xS(e){const{styles:t,defaultTheme:r={}}=e,a=typeof t=="function"?o=>t(wS(o)?r:o):t;return J.jsxRuntimeExports.jsx(pS,{styles:a})}/**
|
|
9
|
+
* @mui/styled-engine v5.15.11
|
|
10
|
+
*
|
|
11
|
+
* @license MIT
|
|
12
|
+
* This source code is licensed under the MIT license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/function SS(e,t){return Ef(e,t)}const kS=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},DS=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:xS,StyledEngineProvider:_S,ThemeContext:ol,css:im,default:SS,internal_processStyles:kS,keyframes:ul},Symbol.toStringTag,{value:"Module"}));function Li(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function sm(e){if(!Li(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=sm(e[r])}),t}function Lr(e,t,r={clone:!0}){const a=r.clone?ve._extends({},e):e;return Li(e)&&Li(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Li(t[o])&&o in e&&Li(e[o])?a[o]=Lr(e[o],t[o],r):r.clone?a[o]=Li(t[o])?sm(t[o]):t[o]:a[o]=t[o])}),a}const CS=Object.freeze(Object.defineProperty({__proto__:null,default:Lr,isPlainObject:Li},Symbol.toStringTag,{value:"Module"})),TS=["values","unit","step"],ES=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,a)=>r.val-a.val),t.reduce((r,a)=>ve._extends({},r,{[a.key]:a.val}),{})};function am(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:a=5}=e,o=ve._objectWithoutPropertiesLoose(e,TS),c=ES(t),g=Object.keys(c);function w(j){return`@media (min-width:${typeof t[j]=="number"?t[j]:j}${r})`}function k(j){return`@media (max-width:${(typeof t[j]=="number"?t[j]:j)-a/100}${r})`}function E(j,G){const U=g.indexOf(G);return`@media (min-width:${typeof t[j]=="number"?t[j]:j}${r}) and (max-width:${(U!==-1&&typeof t[g[U]]=="number"?t[g[U]]:G)-a/100}${r})`}function P(j){return g.indexOf(j)+1<g.length?E(j,g[g.indexOf(j)+1]):w(j)}function W(j){const G=g.indexOf(j);return G===0?w(g[1]):G===g.length-1?k(g[G]):E(j,g[g.indexOf(j)+1]).replace("@media","@media not all and")}return ve._extends({keys:g,values:c,up:w,down:k,between:E,only:P,not:W,unit:r},o)}const MS={borderRadius:4},AS=MS;function qa(e,t){return t?Lr(e,t,{clone:!1}):e}const td={xs:0,sm:600,md:900,lg:1200,xl:1536},Vp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${td[e]}px)`};function pi(e,t,r){const a=e.theme||{};if(Array.isArray(t)){const c=a.breakpoints||Vp;return t.reduce((g,w,k)=>(g[c.up(c.keys[k])]=r(t[k]),g),{})}if(typeof t=="object"){const c=a.breakpoints||Vp;return Object.keys(t).reduce((g,w)=>{if(Object.keys(c.values||td).indexOf(w)!==-1){const k=c.up(w);g[k]=r(t[w],w)}else{const k=w;g[k]=t[k]}return g},{})}return r(t)}function OS(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((a,o)=>{const c=e.up(o);return a[c]={},a},{}))||{}}function IS(e,t){return e.reduce((r,a)=>{const o=r[a];return(!o||Object.keys(o).length===0)&&delete r[a],r},t)}function $r(e){if(typeof e!="string")throw new Error(Ga(7));return e.charAt(0).toUpperCase()+e.slice(1)}const RS=Object.freeze(Object.defineProperty({__proto__:null,default:$r},Symbol.toStringTag,{value:"Module"}));function ll(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const a=`vars.${t}`.split(".").reduce((o,c)=>o&&o[c]?o[c]:null,e);if(a!=null)return a}return t.split(".").reduce((a,o)=>a&&a[o]!=null?a[o]:null,e)}function Fu(e,t,r,a=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||a:o=ll(e,r)||a,t&&(o=t(o,a,e)),o}function Dt(e){const{prop:t,cssProperty:r=e.prop,themeKey:a,transform:o}=e,c=g=>{if(g[t]==null)return null;const w=g[t],k=g.theme,E=ll(k,a)||{};return pi(g,w,W=>{let j=Fu(E,o,W);return W===j&&typeof W=="string"&&(j=Fu(E,o,`${t}${W==="default"?"":$r(W)}`,W)),r===!1?j:{[r]:j}})};return c.propTypes={},c.filterProps=[t],c}function PS(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const NS={m:"margin",p:"padding"},LS={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Gp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$S=PS(e=>{if(e.length>2)if(Gp[e])e=Gp[e];else return[e];const[t,r]=e.split(""),a=NS[t],o=LS[r]||"";return Array.isArray(o)?o.map(c=>a+c):[a+o]}),nd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],rd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...nd,...rd];function so(e,t,r,a){var o;const c=(o=ll(e,t,!1))!=null?o:r;return typeof c=="number"?g=>typeof g=="string"?g:c*g:Array.isArray(c)?g=>typeof g=="string"?g:c[g]:typeof c=="function"?c:()=>{}}function om(e){return so(e,"spacing",8)}function ao(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),a=e(r);return t>=0?a:typeof a=="number"?-a:`-${a}`}function FS(e,t){return r=>e.reduce((a,o)=>(a[o]=ao(t,r),a),{})}function YS(e,t,r,a){if(t.indexOf(r)===-1)return null;const o=$S(r),c=FS(o,a),g=e[r];return pi(e,g,c)}function um(e,t){const r=om(e.theme);return Object.keys(e).map(a=>YS(e,t,a,r)).reduce(qa,{})}function vt(e){return um(e,nd)}vt.propTypes={};vt.filterProps=nd;function bt(e){return um(e,rd)}bt.propTypes={};bt.filterProps=rd;function WS(e=8){if(e.mui)return e;const t=om({spacing:e}),r=(...a)=>(a.length===0?[1]:a).map(c=>{const g=t(c);return typeof g=="number"?`${g}px`:g}).join(" ");return r.mui=!0,r}function cl(...e){const t=e.reduce((a,o)=>(o.filterProps.forEach(c=>{a[c]=o}),a),{}),r=a=>Object.keys(a).reduce((o,c)=>t[c]?qa(o,t[c](a)):o,{});return r.propTypes={},r.filterProps=e.reduce((a,o)=>a.concat(o.filterProps),[]),r}function Jn(e){return typeof e!="number"?e:`${e}px solid`}function tr(e,t){return Dt({prop:e,themeKey:"borders",transform:t})}const BS=tr("border",Jn),HS=tr("borderTop",Jn),jS=tr("borderRight",Jn),US=tr("borderBottom",Jn),qS=tr("borderLeft",Jn),zS=tr("borderColor"),VS=tr("borderTopColor"),GS=tr("borderRightColor"),KS=tr("borderBottomColor"),XS=tr("borderLeftColor"),ZS=tr("outline",Jn),JS=tr("outlineColor"),fl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=so(e.theme,"shape.borderRadius",4),r=a=>({borderRadius:ao(t,a)});return pi(e,e.borderRadius,r)}return null};fl.propTypes={};fl.filterProps=["borderRadius"];cl(BS,HS,jS,US,qS,zS,VS,GS,KS,XS,fl,ZS,JS);const dl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=so(e.theme,"spacing",8),r=a=>({gap:ao(t,a)});return pi(e,e.gap,r)}return null};dl.propTypes={};dl.filterProps=["gap"];const hl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=so(e.theme,"spacing",8),r=a=>({columnGap:ao(t,a)});return pi(e,e.columnGap,r)}return null};hl.propTypes={};hl.filterProps=["columnGap"];const pl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=so(e.theme,"spacing",8),r=a=>({rowGap:ao(t,a)});return pi(e,e.rowGap,r)}return null};pl.propTypes={};pl.filterProps=["rowGap"];const QS=Dt({prop:"gridColumn"}),ek=Dt({prop:"gridRow"}),tk=Dt({prop:"gridAutoFlow"}),nk=Dt({prop:"gridAutoColumns"}),rk=Dt({prop:"gridAutoRows"}),ik=Dt({prop:"gridTemplateColumns"}),sk=Dt({prop:"gridTemplateRows"}),ak=Dt({prop:"gridTemplateAreas"}),ok=Dt({prop:"gridArea"});cl(dl,hl,pl,QS,ek,tk,nk,rk,ik,sk,ak,ok);function zs(e,t){return t==="grey"?t:e}const uk=Dt({prop:"color",themeKey:"palette",transform:zs}),lk=Dt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:zs}),ck=Dt({prop:"backgroundColor",themeKey:"palette",transform:zs});cl(uk,lk,ck);function Rn(e){return e<=1&&e!==0?`${e*100}%`:e}const fk=Dt({prop:"width",transform:Rn}),id=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var a,o;const c=((a=e.theme)==null||(a=a.breakpoints)==null||(a=a.values)==null?void 0:a[r])||td[r];return c?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${c}${e.theme.breakpoints.unit}`}:{maxWidth:c}:{maxWidth:Rn(r)}};return pi(e,e.maxWidth,t)}return null};id.filterProps=["maxWidth"];const dk=Dt({prop:"minWidth",transform:Rn}),hk=Dt({prop:"height",transform:Rn}),pk=Dt({prop:"maxHeight",transform:Rn}),gk=Dt({prop:"minHeight",transform:Rn});Dt({prop:"size",cssProperty:"width",transform:Rn});Dt({prop:"size",cssProperty:"height",transform:Rn});const mk=Dt({prop:"boxSizing"});cl(fk,id,dk,hk,pk,gk,mk);const yk={border:{themeKey:"borders",transform:Jn},borderTop:{themeKey:"borders",transform:Jn},borderRight:{themeKey:"borders",transform:Jn},borderBottom:{themeKey:"borders",transform:Jn},borderLeft:{themeKey:"borders",transform:Jn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Jn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:fl},color:{themeKey:"palette",transform:zs},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:zs},backgroundColor:{themeKey:"palette",transform:zs},p:{style:bt},pt:{style:bt},pr:{style:bt},pb:{style:bt},pl:{style:bt},px:{style:bt},py:{style:bt},padding:{style:bt},paddingTop:{style:bt},paddingRight:{style:bt},paddingBottom:{style:bt},paddingLeft:{style:bt},paddingX:{style:bt},paddingY:{style:bt},paddingInline:{style:bt},paddingInlineStart:{style:bt},paddingInlineEnd:{style:bt},paddingBlock:{style:bt},paddingBlockStart:{style:bt},paddingBlockEnd:{style:bt},m:{style:vt},mt:{style:vt},mr:{style:vt},mb:{style:vt},ml:{style:vt},mx:{style:vt},my:{style:vt},margin:{style:vt},marginTop:{style:vt},marginRight:{style:vt},marginBottom:{style:vt},marginLeft:{style:vt},marginX:{style:vt},marginY:{style:vt},marginInline:{style:vt},marginInlineStart:{style:vt},marginInlineEnd:{style:vt},marginBlock:{style:vt},marginBlockStart:{style:vt},marginBlockEnd:{style:vt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:dl},rowGap:{style:pl},columnGap:{style:hl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Rn},maxWidth:{style:id},minWidth:{transform:Rn},height:{transform:Rn},maxHeight:{transform:Rn},minHeight:{transform:Rn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},oo=yk;function vk(...e){const t=e.reduce((a,o)=>a.concat(Object.keys(o)),[]),r=new Set(t);return e.every(a=>r.size===Object.keys(a).length)}function bk(e,t){return typeof e=="function"?e(t):e}function lm(){function e(r,a,o,c){const g={[r]:a,theme:o},w=c[r];if(!w)return{[r]:a};const{cssProperty:k=r,themeKey:E,transform:P,style:W}=w;if(a==null)return null;if(E==="typography"&&a==="inherit")return{[r]:a};const j=ll(o,E)||{};return W?W(g):pi(g,a,U=>{let $=Fu(j,P,U);return U===$&&typeof U=="string"&&($=Fu(j,P,`${r}${U==="default"?"":$r(U)}`,U)),k===!1?$:{[k]:$}})}function t(r){var a;const{sx:o,theme:c={}}=r||{};if(!o)return null;const g=(a=c.unstable_sxConfig)!=null?a:oo;function w(k){let E=k;if(typeof k=="function")E=k(c);else if(typeof k!="object")return k;if(!E)return null;const P=OS(c.breakpoints),W=Object.keys(P);let j=P;return Object.keys(E).forEach(G=>{const U=bk(E[G],c);if(U!=null)if(typeof U=="object")if(g[G])j=qa(j,e(G,U,c,g));else{const $=pi({theme:c},U,ne=>({[G]:ne}));vk($,U)?j[G]=t({sx:U,theme:c}):j=qa(j,$)}else j=qa(j,e(G,U,c,g))}),IS(W,j)}return Array.isArray(o)?o.map(w):w(o)}return t}const cm=lm();cm.filterProps=["sx"];const sd=cm;function fm(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const _k=["breakpoints","palette","spacing","shape"];function ad(e={},...t){const{breakpoints:r={},palette:a={},spacing:o,shape:c={}}=e,g=ve._objectWithoutPropertiesLoose(e,_k),w=am(r),k=WS(o);let E=Lr({breakpoints:w,direction:"ltr",components:{},palette:ve._extends({mode:"light"},a),spacing:k,shape:ve._extends({},AS,c)},g);return E.applyStyles=fm,E=t.reduce((P,W)=>Lr(P,W),E),E.unstable_sxConfig=ve._extends({},oo,g==null?void 0:g.unstable_sxConfig),E.unstable_sx=function(W){return sd({sx:W,theme:this})},E}const wk=Object.freeze(Object.defineProperty({__proto__:null,default:ad,private_createBreakpoints:am,unstable_applyStyles:fm},Symbol.toStringTag,{value:"Module"}));function xk(e){return Object.keys(e).length===0}function Sk(e=null){const t=J.reactExports.useContext(ol);return!t||xk(t)?e:t}const kk=ad();function Dk(e=kk){return Sk(e)}const Ck=["sx"],Tk=e=>{var t,r;const a={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:oo;return Object.keys(e).forEach(c=>{o[c]?a.systemProps[c]=e[c]:a.otherProps[c]=e[c]}),a};function Ek(e){const{sx:t}=e,r=ve._objectWithoutPropertiesLoose(e,Ck),{systemProps:a,otherProps:o}=Tk(r);let c;return Array.isArray(t)?c=[a,...t]:typeof t=="function"?c=(...g)=>{const w=t(...g);return Li(w)?ve._extends({},a,w):a}:c=ve._extends({},a,t),ve._extends({},o,{sx:c})}const Mk=Object.freeze(Object.defineProperty({__proto__:null,default:sd,extendSxProp:Ek,unstable_createStyleFunctionSx:lm,unstable_defaultSxConfig:oo},Symbol.toStringTag,{value:"Module"})),Kp=e=>e,Ak=()=>{let e=Kp;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Kp}}},Ok=Ak(),Ik=Ok,Rk={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function gl(e,t,r="Mui"){const a=Rk[t];return a?`${r}-${a}`:`${Ik.generate(e)}-${t}`}function ml(e,t,r="Mui"){const a={};return t.forEach(o=>{a[o]=gl(e,o,r)}),a}var dm={exports:{}},rt={};/**
|
|
15
|
+
* @license React
|
|
16
|
+
* react-is.production.min.js
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
19
|
+
*
|
|
20
|
+
* This source code is licensed under the MIT license found in the
|
|
21
|
+
* LICENSE file in the root directory of this source tree.
|
|
22
|
+
*/var od=Symbol.for("react.element"),ud=Symbol.for("react.portal"),yl=Symbol.for("react.fragment"),vl=Symbol.for("react.strict_mode"),bl=Symbol.for("react.profiler"),_l=Symbol.for("react.provider"),wl=Symbol.for("react.context"),Pk=Symbol.for("react.server_context"),xl=Symbol.for("react.forward_ref"),Sl=Symbol.for("react.suspense"),kl=Symbol.for("react.suspense_list"),Dl=Symbol.for("react.memo"),Cl=Symbol.for("react.lazy"),Nk=Symbol.for("react.offscreen"),hm;hm=Symbol.for("react.module.reference");function nr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case od:switch(e=e.type,e){case yl:case bl:case vl:case Sl:case kl:return e;default:switch(e=e&&e.$$typeof,e){case Pk:case wl:case xl:case Cl:case Dl:case _l:return e;default:return t}}case ud:return t}}}rt.ContextConsumer=wl;rt.ContextProvider=_l;rt.Element=od;rt.ForwardRef=xl;rt.Fragment=yl;rt.Lazy=Cl;rt.Memo=Dl;rt.Portal=ud;rt.Profiler=bl;rt.StrictMode=vl;rt.Suspense=Sl;rt.SuspenseList=kl;rt.isAsyncMode=function(){return!1};rt.isConcurrentMode=function(){return!1};rt.isContextConsumer=function(e){return nr(e)===wl};rt.isContextProvider=function(e){return nr(e)===_l};rt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===od};rt.isForwardRef=function(e){return nr(e)===xl};rt.isFragment=function(e){return nr(e)===yl};rt.isLazy=function(e){return nr(e)===Cl};rt.isMemo=function(e){return nr(e)===Dl};rt.isPortal=function(e){return nr(e)===ud};rt.isProfiler=function(e){return nr(e)===bl};rt.isStrictMode=function(e){return nr(e)===vl};rt.isSuspense=function(e){return nr(e)===Sl};rt.isSuspenseList=function(e){return nr(e)===kl};rt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===yl||e===bl||e===vl||e===Sl||e===kl||e===Nk||typeof e=="object"&&e!==null&&(e.$$typeof===Cl||e.$$typeof===Dl||e.$$typeof===_l||e.$$typeof===wl||e.$$typeof===xl||e.$$typeof===hm||e.getModuleId!==void 0)};rt.typeOf=nr;dm.exports=rt;var Xp=dm.exports;const Lk=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function pm(e){const t=`${e}`.match(Lk);return t&&t[1]||""}function gm(e,t=""){return e.displayName||e.name||pm(e)||t}function Zp(e,t,r){const a=gm(t);return e.displayName||(a!==""?`${r}(${a})`:r)}function $k(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return gm(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Xp.ForwardRef:return Zp(e,e.render,"ForwardRef");case Xp.Memo:return Zp(e,e.type,"memo");default:return}}}const Fk=Object.freeze(Object.defineProperty({__proto__:null,default:$k,getFunctionName:pm},Symbol.toStringTag,{value:"Module"}));function mm(e,t){const r=ve._extends({},t);return Object.keys(e).forEach(a=>{if(a.toString().match(/^(components|slots)$/))r[a]=ve._extends({},e[a],r[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){const o=e[a]||{},c=t[a];r[a]={},!c||!Object.keys(c)?r[a]=o:!o||!Object.keys(o)?r[a]=c:(r[a]=ve._extends({},c),Object.keys(o).forEach(g=>{r[a][g]=mm(o[g],c[g])}))}else r[a]===void 0&&(r[a]=e[a])}),r}function Yk(e){const{theme:t,name:r,props:a}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?a:mm(t.components[r].defaultProps,a)}function Wk({props:e,name:t,defaultTheme:r,themeId:a}){let o=Dk(r);return a&&(o=o[a]||o),Yk({theme:o,name:t,props:e})}const Bk=typeof window<"u"?J.reactExports.useLayoutEffect:J.reactExports.useEffect,Hk=Bk;function jk(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const Uk=Object.freeze(Object.defineProperty({__proto__:null,default:jk},Symbol.toStringTag,{value:"Module"}));function qk(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function zk({controlled:e,default:t,name:r,state:a="value"}){const{current:o}=J.reactExports.useRef(e!==void 0),[c,g]=J.reactExports.useState(t),w=o?e:c,k=J.reactExports.useCallback(E=>{o||g(E)},[]);return[w,k]}function Du(e){const t=J.reactExports.useRef(e);return Hk(()=>{t.current=e}),J.reactExports.useRef((...r)=>(0,t.current)(...r)).current}function Jp(...e){return J.reactExports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{qk(r,t)})},e)}const Qp={};function Vk(e,t){const r=J.reactExports.useRef(Qp);return r.current===Qp&&(r.current=e(t)),r}const Gk=[];function Kk(e){J.reactExports.useEffect(e,Gk)}class Tl{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Tl}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function Xk(){const e=Vk(Tl.create).current;return Kk(e.disposeEffect),e}let El=!0,Af=!1;const Zk=new Tl,Jk={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Qk(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&Jk[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function eD(e){e.metaKey||e.altKey||e.ctrlKey||(El=!0)}function lf(){El=!1}function tD(){this.visibilityState==="hidden"&&Af&&(El=!0)}function nD(e){e.addEventListener("keydown",eD,!0),e.addEventListener("mousedown",lf,!0),e.addEventListener("pointerdown",lf,!0),e.addEventListener("touchstart",lf,!0),e.addEventListener("visibilitychange",tD,!0)}function rD(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return El||Qk(t)}function iD(){const e=J.reactExports.useCallback(o=>{o!=null&&nD(o.ownerDocument)},[]),t=J.reactExports.useRef(!1);function r(){return t.current?(Af=!0,Zk.start(100,()=>{Af=!1}),t.current=!1,!0):!1}function a(o){return rD(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:a,onBlur:r,ref:e}}function ld(e,t,r=void 0){const a={};return Object.keys(e).forEach(o=>{a[o]=e[o].reduce((c,g)=>{if(g){const w=t(g);w!==""&&c.push(w),r&&r[g]&&c.push(r[g])}return c},[]).join(" ")}),a}function sD(e,t){return ve._extends({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Ct={},ym={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(ym);var vm=ym.exports;const aD=J.getAugmentedNamespace(bx),oD=J.getAugmentedNamespace(Uk);var bm=vm;Object.defineProperty(Ct,"__esModule",{value:!0});var eg=Ct.alpha=Dm;Ct.blend=vD;Ct.colorChannel=void 0;var _m=Ct.darken=fd;Ct.decomposeColor=er;Ct.emphasize=yD;var uD=Ct.getContrastRatio=hD;Ct.getLuminance=Yu;Ct.hexToRgb=xm;Ct.hslToRgb=km;var wm=Ct.lighten=dd;Ct.private_safeAlpha=pD;Ct.private_safeColorChannel=void 0;Ct.private_safeDarken=gD;Ct.private_safeEmphasize=Cm;Ct.private_safeLighten=mD;Ct.recomposeColor=Js;Ct.rgbToHex=dD;var tg=bm(aD),lD=bm(oD);function cd(e,t=0,r=1){return(0,lD.default)(e,t,r)}function xm(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(a=>a+a)),r?`rgb${r.length===4?"a":""}(${r.map((a,o)=>o<3?parseInt(a,16):Math.round(parseInt(a,16)/255*1e3)/1e3).join(", ")})`:""}function cD(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function er(e){if(e.type)return e;if(e.charAt(0)==="#")return er(xm(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,tg.default)(9,e));let a=e.substring(t+1,e.length-1),o;if(r==="color"){if(a=a.split(" "),o=a.shift(),a.length===4&&a[3].charAt(0)==="/"&&(a[3]=a[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,tg.default)(10,o))}else a=a.split(",");return a=a.map(c=>parseFloat(c)),{type:r,values:a,colorSpace:o}}const Sm=e=>{const t=er(e);return t.values.slice(0,3).map((r,a)=>t.type.indexOf("hsl")!==-1&&a!==0?`${r}%`:r).join(" ")};Ct.colorChannel=Sm;const fD=(e,t)=>{try{return Sm(e)}catch{return e}};Ct.private_safeColorChannel=fD;function Js(e){const{type:t,colorSpace:r}=e;let{values:a}=e;return t.indexOf("rgb")!==-1?a=a.map((o,c)=>c<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(a[1]=`${a[1]}%`,a[2]=`${a[2]}%`),t.indexOf("color")!==-1?a=`${r} ${a.join(" ")}`:a=`${a.join(", ")}`,`${t}(${a})`}function dD(e){if(e.indexOf("#")===0)return e;const{values:t}=er(e);return`#${t.map((r,a)=>cD(a===3?Math.round(255*r):r)).join("")}`}function km(e){e=er(e);const{values:t}=e,r=t[0],a=t[1]/100,o=t[2]/100,c=a*Math.min(o,1-o),g=(E,P=(E+r/30)%12)=>o-c*Math.max(Math.min(P-3,9-P,1),-1);let w="rgb";const k=[Math.round(g(0)*255),Math.round(g(8)*255),Math.round(g(4)*255)];return e.type==="hsla"&&(w+="a",k.push(t[3])),Js({type:w,values:k})}function Yu(e){e=er(e);let t=e.type==="hsl"||e.type==="hsla"?er(km(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function hD(e,t){const r=Yu(e),a=Yu(t);return(Math.max(r,a)+.05)/(Math.min(r,a)+.05)}function Dm(e,t){return e=er(e),t=cd(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Js(e)}function pD(e,t,r){try{return Dm(e,t)}catch{return e}}function fd(e,t){if(e=er(e),t=cd(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Js(e)}function gD(e,t,r){try{return fd(e,t)}catch{return e}}function dd(e,t){if(e=er(e),t=cd(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Js(e)}function mD(e,t,r){try{return dd(e,t)}catch{return e}}function yD(e,t=.15){return Yu(e)>.5?fd(e,t):dd(e,t)}function Cm(e,t,r){try{return Cm(e,t)}catch{return e}}function vD(e,t,r,a=1){const o=(k,E)=>Math.round((k**(1/a)*(1-r)+E**(1/a)*r)**a),c=er(e),g=er(t),w=[o(c.values[0],g.values[0]),o(c.values[1],g.values[1]),o(c.values[2],g.values[2])];return Js({type:"rgb",values:w})}const bD=["mode","contrastThreshold","tonalOffset"],ng={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Va.white,default:Va.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},cf={text:{primary:Va.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Va.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function rg(e,t,r,a){const o=a.light||a,c=a.dark||a*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=wm(e.main,o):t==="dark"&&(e.dark=_m(e.main,c)))}function _D(e="light"){return e==="dark"?{main:Ys[200],light:Ys[50],dark:Ys[400]}:{main:Ys[700],light:Ys[400],dark:Ys[800]}}function wD(e="light"){return e==="dark"?{main:Fs[200],light:Fs[50],dark:Fs[400]}:{main:Fs[500],light:Fs[300],dark:Fs[700]}}function xD(e="light"){return e==="dark"?{main:$s[500],light:$s[300],dark:$s[700]}:{main:$s[700],light:$s[400],dark:$s[800]}}function SD(e="light"){return e==="dark"?{main:Ws[400],light:Ws[300],dark:Ws[700]}:{main:Ws[700],light:Ws[500],dark:Ws[900]}}function kD(e="light"){return e==="dark"?{main:Bs[400],light:Bs[300],dark:Bs[700]}:{main:Bs[800],light:Bs[500],dark:Bs[900]}}function DD(e="light"){return e==="dark"?{main:Ba[400],light:Ba[300],dark:Ba[700]}:{main:"#ed6c02",light:Ba[500],dark:Ba[900]}}function CD(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:a=.2}=e,o=ve._objectWithoutPropertiesLoose(e,bD),c=e.primary||_D(t),g=e.secondary||wD(t),w=e.error||xD(t),k=e.info||SD(t),E=e.success||kD(t),P=e.warning||DD(t);function W($){return uD($,cf.text.primary)>=r?cf.text.primary:ng.text.primary}const j=({color:$,name:ne,mainShade:H=500,lightShade:pe=300,darkShade:me=700})=>{if($=ve._extends({},$),!$.main&&$[H]&&($.main=$[H]),!$.hasOwnProperty("main"))throw new Error(Ga(11,ne?` (${ne})`:"",H));if(typeof $.main!="string")throw new Error(Ga(12,ne?` (${ne})`:"",JSON.stringify($.main)));return rg($,"light",pe,a),rg($,"dark",me,a),$.contrastText||($.contrastText=W($.main)),$},G={dark:cf,light:ng};return Lr(ve._extends({common:ve._extends({},Va),mode:t,primary:j({color:c,name:"primary"}),secondary:j({color:g,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:j({color:w,name:"error"}),warning:j({color:P,name:"warning"}),info:j({color:k,name:"info"}),success:j({color:E,name:"success"}),grey:vx,contrastThreshold:r,getContrastText:W,augmentColor:j,tonalOffset:a},G[t]),o)}const TD=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function ED(e){return Math.round(e*1e5)/1e5}const ig={textTransform:"uppercase"},sg='"Roboto", "Helvetica", "Arial", sans-serif';function MD(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:a=sg,fontSize:o=14,fontWeightLight:c=300,fontWeightRegular:g=400,fontWeightMedium:w=500,fontWeightBold:k=700,htmlFontSize:E=16,allVariants:P,pxToRem:W}=r,j=ve._objectWithoutPropertiesLoose(r,TD),G=o/14,U=W||(H=>`${H/E*G}rem`),$=(H,pe,me,ye,re)=>ve._extends({fontFamily:a,fontWeight:H,fontSize:U(pe),lineHeight:me},a===sg?{letterSpacing:`${ED(ye/pe)}em`}:{},re,P),ne={h1:$(c,96,1.167,-1.5),h2:$(c,60,1.2,-.5),h3:$(g,48,1.167,0),h4:$(g,34,1.235,.25),h5:$(g,24,1.334,0),h6:$(w,20,1.6,.15),subtitle1:$(g,16,1.75,.15),subtitle2:$(w,14,1.57,.1),body1:$(g,16,1.5,.15),body2:$(g,14,1.43,.15),button:$(w,14,1.75,.4,ig),caption:$(g,12,1.66,.4),overline:$(g,12,2.66,1,ig),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Lr(ve._extends({htmlFontSize:E,pxToRem:U,fontFamily:a,fontSize:o,fontWeightLight:c,fontWeightRegular:g,fontWeightMedium:w,fontWeightBold:k},ne),j,{clone:!1})}const AD=.2,OD=.14,ID=.12;function dt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${AD})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${OD})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ID})`].join(",")}const RD=["none",dt(0,2,1,-1,0,1,1,0,0,1,3,0),dt(0,3,1,-2,0,2,2,0,0,1,5,0),dt(0,3,3,-2,0,3,4,0,0,1,8,0),dt(0,2,4,-1,0,4,5,0,0,1,10,0),dt(0,3,5,-1,0,5,8,0,0,1,14,0),dt(0,3,5,-1,0,6,10,0,0,1,18,0),dt(0,4,5,-2,0,7,10,1,0,2,16,1),dt(0,5,5,-3,0,8,10,1,0,3,14,2),dt(0,5,6,-3,0,9,12,1,0,3,16,2),dt(0,6,6,-3,0,10,14,1,0,4,18,3),dt(0,6,7,-4,0,11,15,1,0,4,20,3),dt(0,7,8,-4,0,12,17,2,0,5,22,4),dt(0,7,8,-4,0,13,19,2,0,5,24,4),dt(0,7,9,-4,0,14,21,2,0,5,26,4),dt(0,8,9,-5,0,15,22,2,0,6,28,5),dt(0,8,10,-5,0,16,24,2,0,6,30,5),dt(0,8,11,-5,0,17,26,2,0,6,32,5),dt(0,9,11,-5,0,18,28,2,0,7,34,6),dt(0,9,12,-6,0,19,29,2,0,7,36,6),dt(0,10,13,-6,0,20,31,3,0,8,38,7),dt(0,10,13,-6,0,21,33,3,0,8,40,7),dt(0,10,14,-6,0,22,35,3,0,8,42,7),dt(0,11,14,-7,0,23,36,3,0,9,44,8),dt(0,11,15,-7,0,24,38,3,0,9,46,8)],PD=RD,ND=["duration","easing","delay"],LD={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},$D={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ag(e){return`${Math.round(e)}ms`}function FD(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function YD(e){const t=ve._extends({},LD,e.easing),r=ve._extends({},$D,e.duration),a=(o=["all"],c={})=>{const{duration:g=r.standard,easing:w=t.easeInOut,delay:k=0}=c;return ve._objectWithoutPropertiesLoose(c,ND),(Array.isArray(o)?o:[o]).map(E=>`${E} ${typeof g=="string"?g:ag(g)} ${w} ${typeof k=="string"?k:ag(k)}`).join(",")};return ve._extends({getAutoHeightDuration:FD,create:a},e,{easing:t,duration:r})}const WD={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},BD=WD,HD=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function jD(e={},...t){const{mixins:r={},palette:a={},transitions:o={},typography:c={}}=e,g=ve._objectWithoutPropertiesLoose(e,HD);if(e.vars)throw new Error(Ga(18));const w=CD(a),k=ad(e);let E=Lr(k,{mixins:sD(k.breakpoints,r),palette:w,shadows:PD.slice(),typography:MD(w,c),transitions:YD(o),zIndex:ve._extends({},BD)});return E=Lr(E,g),E=t.reduce((P,W)=>Lr(P,W),E),E.unstable_sxConfig=ve._extends({},oo,g==null?void 0:g.unstable_sxConfig),E.unstable_sx=function(W){return sd({sx:W,theme:this})},E}const UD=jD(),Tm=UD;function hd({props:e,name:t}){return Wk({props:e,name:t,defaultTheme:Tm,themeId:Fg})}var uo={};const qD=J.getAugmentedNamespace(ve._extends$1),zD=J.getAugmentedNamespace(ve.objectWithoutPropertiesLoose),VD=J.getAugmentedNamespace(DS),GD=J.getAugmentedNamespace(CS),KD=J.getAugmentedNamespace(RS),XD=J.getAugmentedNamespace(Fk),ZD=J.getAugmentedNamespace(wk),JD=J.getAugmentedNamespace(Mk);var Qs=vm;Object.defineProperty(uo,"__esModule",{value:!0});var QD=uo.default=hC,eC=uo.shouldForwardProp=Iu;uo.systemDefaultTheme=void 0;var Kn=Qs(qD),Of=Qs(zD),og=oC(VD),tC=GD;Qs(KD);Qs(XD);var nC=Qs(ZD),rC=Qs(JD);const iC=["ownerState"],sC=["variants"],aC=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Em(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Em=function(a){return a?r:t})(e)}function oC(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Em(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if(c!=="default"&&Object.prototype.hasOwnProperty.call(e,c)){var g=o?Object.getOwnPropertyDescriptor(e,c):null;g&&(g.get||g.set)?Object.defineProperty(a,c,g):a[c]=e[c]}return a.default=e,r&&r.set(e,a),a}function uC(e){return Object.keys(e).length===0}function lC(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Iu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const cC=uo.systemDefaultTheme=(0,nC.default)(),fC=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Cu({defaultTheme:e,theme:t,themeId:r}){return uC(t)?e:t[r]||t}function dC(e){return e?(t,r)=>r[e]:null}function Ru(e,t){let{ownerState:r}=t,a=(0,Of.default)(t,iC);const o=typeof e=="function"?e((0,Kn.default)({ownerState:r},a)):e;if(Array.isArray(o))return o.flatMap(c=>Ru(c,(0,Kn.default)({ownerState:r},a)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:c=[]}=o;let w=(0,Of.default)(o,sC);return c.forEach(k=>{let E=!0;typeof k.props=="function"?E=k.props((0,Kn.default)({ownerState:r},a,r)):Object.keys(k.props).forEach(P=>{(r==null?void 0:r[P])!==k.props[P]&&a[P]!==k.props[P]&&(E=!1)}),E&&(Array.isArray(w)||(w=[w]),w.push(typeof k.style=="function"?k.style((0,Kn.default)({ownerState:r},a,r)):k.style))}),w}return o}function hC(e={}){const{themeId:t,defaultTheme:r=cC,rootShouldForwardProp:a=Iu,slotShouldForwardProp:o=Iu}=e,c=g=>(0,rC.default)((0,Kn.default)({},g,{theme:Cu((0,Kn.default)({},g,{defaultTheme:r,themeId:t}))}));return c.__mui_systemSx=!0,(g,w={})=>{(0,og.internal_processStyles)(g,re=>re.filter(ie=>!(ie!=null&&ie.__mui_systemSx)));const{name:k,slot:E,skipVariantsResolver:P,skipSx:W,overridesResolver:j=dC(fC(E))}=w,G=(0,Of.default)(w,aC),U=P!==void 0?P:E&&E!=="Root"&&E!=="root"||!1,$=W||!1;let ne,H=Iu;E==="Root"||E==="root"?H=a:E?H=o:lC(g)&&(H=void 0);const pe=(0,og.default)(g,(0,Kn.default)({shouldForwardProp:H,label:ne},G)),me=re=>typeof re=="function"&&re.__emotion_real!==re||(0,tC.isPlainObject)(re)?ie=>Ru(re,(0,Kn.default)({},ie,{theme:Cu({theme:ie.theme,defaultTheme:r,themeId:t})})):re,ye=(re,...ie)=>{let d=me(re);const Le=ie?ie.map(me):[];k&&j&&Le.push(Ue=>{const Je=Cu((0,Kn.default)({},Ue,{defaultTheme:r,themeId:t}));if(!Je.components||!Je.components[k]||!Je.components[k].styleOverrides)return null;const xe=Je.components[k].styleOverrides,ot={};return Object.entries(xe).forEach(([_t,Et])=>{ot[_t]=Ru(Et,(0,Kn.default)({},Ue,{theme:Je}))}),j(Ue,ot)}),k&&!U&&Le.push(Ue=>{var Je;const xe=Cu((0,Kn.default)({},Ue,{defaultTheme:r,themeId:t})),ot=xe==null||(Je=xe.components)==null||(Je=Je[k])==null?void 0:Je.variants;return Ru({variants:ot},(0,Kn.default)({},Ue,{theme:xe}))}),$||Le.push(c);const le=Le.length-ie.length;if(Array.isArray(re)&&le>0){const Ue=new Array(le).fill("");d=[...re,...Ue],d.raw=[...re.raw,...Ue]}const at=pe(d,...Le);return g.muiName&&(at.muiName=g.muiName),at};return pe.withConfig&&(ye.withConfig=pe.withConfig),ye}}const Mm=e=>eC(e)&&e!=="classes",pC=QD({themeId:Fg,defaultTheme:Tm,rootShouldForwardProp:Mm}),Yr=pC,ug=J.React$1.createContext(null);function gC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pd(e,t){var r=function(c){return t&&J.reactExports.isValidElement(c)?t(c):c},a=Object.create(null);return e&&J.reactExports.Children.map(e,function(o){return o}).forEach(function(o){a[o.key]=r(o)}),a}function mC(e,t){e=e||{},t=t||{};function r(P){return P in t?t[P]:e[P]}var a=Object.create(null),o=[];for(var c in e)c in t?o.length&&(a[c]=o,o=[]):o.push(c);var g,w={};for(var k in t){if(a[k])for(g=0;g<a[k].length;g++){var E=a[k][g];w[a[k][g]]=r(E)}w[k]=r(k)}for(g=0;g<o.length;g++)w[o[g]]=r(o[g]);return w}function us(e,t,r){return r[t]!=null?r[t]:e.props[t]}function yC(e,t){return pd(e.children,function(r){return J.reactExports.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:us(r,"appear",e),enter:us(r,"enter",e),exit:us(r,"exit",e)})})}function vC(e,t,r){var a=pd(e.children),o=mC(t,a);return Object.keys(o).forEach(function(c){var g=o[c];if(J.reactExports.isValidElement(g)){var w=c in t,k=c in a,E=t[c],P=J.reactExports.isValidElement(E)&&!E.props.in;k&&(!w||P)?o[c]=J.reactExports.cloneElement(g,{onExited:r.bind(null,g),in:!0,exit:us(g,"exit",e),enter:us(g,"enter",e)}):!k&&w&&!P?o[c]=J.reactExports.cloneElement(g,{in:!1}):k&&w&&J.reactExports.isValidElement(E)&&(o[c]=J.reactExports.cloneElement(g,{onExited:r.bind(null,g),in:E.props.in,exit:us(g,"exit",e),enter:us(g,"enter",e)}))}}),o}var bC=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},_C={component:"div",childFactory:function(t){return t}},gd=function(e){ve._inheritsLoose(t,e);function t(a,o){var c;c=e.call(this,a,o)||this;var g=c.handleExited.bind(gC(c));return c.state={contextValue:{isMounting:!0},handleExited:g,firstRender:!0},c}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,c){var g=c.children,w=c.handleExited,k=c.firstRender;return{children:k?yC(o,w):vC(o,g,w),firstRender:!1}},r.handleExited=function(o,c){var g=pd(this.props.children);o.key in g||(o.props.onExited&&o.props.onExited(c),this.mounted&&this.setState(function(w){var k=ve._extends({},w.children);return delete k[o.key],{children:k}}))},r.render=function(){var o=this.props,c=o.component,g=o.childFactory,w=ve._objectWithoutPropertiesLoose(o,["component","childFactory"]),k=this.state.contextValue,E=bC(this.state.children).map(g);return delete w.appear,delete w.enter,delete w.exit,c===null?J.React$1.createElement(ug.Provider,{value:k},E):J.React$1.createElement(ug.Provider,{value:k},J.React$1.createElement(c,w,E))},t}(J.React$1.Component);gd.propTypes={};gd.defaultProps=_C;const wC=gd;function xC(e){const{className:t,classes:r,pulsate:a=!1,rippleX:o,rippleY:c,rippleSize:g,in:w,onExited:k,timeout:E}=e,[P,W]=J.reactExports.useState(!1),j=Xn(t,r.ripple,r.rippleVisible,a&&r.ripplePulsate),G={width:g,height:g,top:-(g/2)+c,left:-(g/2)+o},U=Xn(r.child,P&&r.childLeaving,a&&r.childPulsate);return!w&&!P&&W(!0),J.reactExports.useEffect(()=>{if(!w&&k!=null){const $=setTimeout(k,E);return()=>{clearTimeout($)}}},[k,w,E]),J.jsxRuntimeExports.jsx("span",{className:j,style:G,children:J.jsxRuntimeExports.jsx("span",{className:U})})}const SC=ml("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Zn=SC,kC=["center","classes","className"];let Ml=e=>e,lg,cg,fg,dg;const If=550,DC=80,CC=ul(lg||(lg=Ml`
|
|
23
|
+
0% {
|
|
24
|
+
transform: scale(0);
|
|
25
|
+
opacity: 0.1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
100% {
|
|
29
|
+
transform: scale(1);
|
|
30
|
+
opacity: 0.3;
|
|
31
|
+
}
|
|
32
|
+
`)),TC=ul(cg||(cg=Ml`
|
|
33
|
+
0% {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
100% {
|
|
38
|
+
opacity: 0;
|
|
39
|
+
}
|
|
40
|
+
`)),EC=ul(fg||(fg=Ml`
|
|
41
|
+
0% {
|
|
42
|
+
transform: scale(1);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
50% {
|
|
46
|
+
transform: scale(0.92);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
100% {
|
|
50
|
+
transform: scale(1);
|
|
51
|
+
}
|
|
52
|
+
`)),MC=Yr("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),AC=Yr(xC,{name:"MuiTouchRipple",slot:"Ripple"})(dg||(dg=Ml`
|
|
53
|
+
opacity: 0;
|
|
54
|
+
position: absolute;
|
|
55
|
+
|
|
56
|
+
&.${0} {
|
|
57
|
+
opacity: 0.3;
|
|
58
|
+
transform: scale(1);
|
|
59
|
+
animation-name: ${0};
|
|
60
|
+
animation-duration: ${0}ms;
|
|
61
|
+
animation-timing-function: ${0};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.${0} {
|
|
65
|
+
animation-duration: ${0}ms;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
& .${0} {
|
|
69
|
+
opacity: 1;
|
|
70
|
+
display: block;
|
|
71
|
+
width: 100%;
|
|
72
|
+
height: 100%;
|
|
73
|
+
border-radius: 50%;
|
|
74
|
+
background-color: currentColor;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
& .${0} {
|
|
78
|
+
opacity: 0;
|
|
79
|
+
animation-name: ${0};
|
|
80
|
+
animation-duration: ${0}ms;
|
|
81
|
+
animation-timing-function: ${0};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
& .${0} {
|
|
85
|
+
position: absolute;
|
|
86
|
+
/* @noflip */
|
|
87
|
+
left: 0px;
|
|
88
|
+
top: 0;
|
|
89
|
+
animation-name: ${0};
|
|
90
|
+
animation-duration: 2500ms;
|
|
91
|
+
animation-timing-function: ${0};
|
|
92
|
+
animation-iteration-count: infinite;
|
|
93
|
+
animation-delay: 200ms;
|
|
94
|
+
}
|
|
95
|
+
`),Zn.rippleVisible,CC,If,({theme:e})=>e.transitions.easing.easeInOut,Zn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Zn.child,Zn.childLeaving,TC,If,({theme:e})=>e.transitions.easing.easeInOut,Zn.childPulsate,EC,({theme:e})=>e.transitions.easing.easeInOut),OC=J.reactExports.forwardRef(function(t,r){const a=hd({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:c={},className:g}=a,w=ve._objectWithoutPropertiesLoose(a,kC),[k,E]=J.reactExports.useState([]),P=J.reactExports.useRef(0),W=J.reactExports.useRef(null);J.reactExports.useEffect(()=>{W.current&&(W.current(),W.current=null)},[k]);const j=J.reactExports.useRef(!1),G=Xk(),U=J.reactExports.useRef(null),$=J.reactExports.useRef(null),ne=J.reactExports.useCallback(ye=>{const{pulsate:re,rippleX:ie,rippleY:d,rippleSize:Le,cb:le}=ye;E(at=>[...at,J.jsxRuntimeExports.jsx(AC,{classes:{ripple:Xn(c.ripple,Zn.ripple),rippleVisible:Xn(c.rippleVisible,Zn.rippleVisible),ripplePulsate:Xn(c.ripplePulsate,Zn.ripplePulsate),child:Xn(c.child,Zn.child),childLeaving:Xn(c.childLeaving,Zn.childLeaving),childPulsate:Xn(c.childPulsate,Zn.childPulsate)},timeout:If,pulsate:re,rippleX:ie,rippleY:d,rippleSize:Le},P.current)]),P.current+=1,W.current=le},[c]),H=J.reactExports.useCallback((ye={},re={},ie=()=>{})=>{const{pulsate:d=!1,center:Le=o||re.pulsate,fakeElement:le=!1}=re;if((ye==null?void 0:ye.type)==="mousedown"&&j.current){j.current=!1;return}(ye==null?void 0:ye.type)==="touchstart"&&(j.current=!0);const at=le?null:$.current,Ue=at?at.getBoundingClientRect():{width:0,height:0,left:0,top:0};let Je,xe,ot;if(Le||ye===void 0||ye.clientX===0&&ye.clientY===0||!ye.clientX&&!ye.touches)Je=Math.round(Ue.width/2),xe=Math.round(Ue.height/2);else{const{clientX:_t,clientY:Et}=ye.touches&&ye.touches.length>0?ye.touches[0]:ye;Je=Math.round(_t-Ue.left),xe=Math.round(Et-Ue.top)}if(Le)ot=Math.sqrt((2*Ue.width**2+Ue.height**2)/3),ot%2===0&&(ot+=1);else{const _t=Math.max(Math.abs((at?at.clientWidth:0)-Je),Je)*2+2,Et=Math.max(Math.abs((at?at.clientHeight:0)-xe),xe)*2+2;ot=Math.sqrt(_t**2+Et**2)}ye!=null&&ye.touches?U.current===null&&(U.current=()=>{ne({pulsate:d,rippleX:Je,rippleY:xe,rippleSize:ot,cb:ie})},G.start(DC,()=>{U.current&&(U.current(),U.current=null)})):ne({pulsate:d,rippleX:Je,rippleY:xe,rippleSize:ot,cb:ie})},[o,ne,G]),pe=J.reactExports.useCallback(()=>{H({},{pulsate:!0})},[H]),me=J.reactExports.useCallback((ye,re)=>{if(G.clear(),(ye==null?void 0:ye.type)==="touchend"&&U.current){U.current(),U.current=null,G.start(0,()=>{me(ye,re)});return}U.current=null,E(ie=>ie.length>0?ie.slice(1):ie),W.current=re},[G]);return J.reactExports.useImperativeHandle(r,()=>({pulsate:pe,start:H,stop:me}),[pe,H,me]),J.jsxRuntimeExports.jsx(MC,ve._extends({className:Xn(Zn.root,c.root,g),ref:$},w,{children:J.jsxRuntimeExports.jsx(wC,{component:null,exit:!0,children:k})}))}),IC=OC;function RC(e){return gl("MuiButtonBase",e)}const PC=ml("MuiButtonBase",["root","disabled","focusVisible"]),NC=PC,LC=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],$C=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:a,classes:o}=e,g=ld({root:["root",t&&"disabled",r&&"focusVisible"]},RC,o);return r&&a&&(g.root+=` ${a}`),g},FC=Yr("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${NC.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),YC=J.reactExports.forwardRef(function(t,r){const a=hd({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:c=!1,children:g,className:w,component:k="button",disabled:E=!1,disableRipple:P=!1,disableTouchRipple:W=!1,focusRipple:j=!1,LinkComponent:G="a",onBlur:U,onClick:$,onContextMenu:ne,onDragLeave:H,onFocus:pe,onFocusVisible:me,onKeyDown:ye,onKeyUp:re,onMouseDown:ie,onMouseLeave:d,onMouseUp:Le,onTouchEnd:le,onTouchMove:at,onTouchStart:Ue,tabIndex:Je=0,TouchRippleProps:xe,touchRippleRef:ot,type:_t}=a,Et=ve._objectWithoutPropertiesLoose(a,LC),ze=J.reactExports.useRef(null),Ye=J.reactExports.useRef(null),ft=Jp(Ye,ot),{isFocusVisibleRef:Mt,onFocus:Nt,onBlur:wt,ref:$n}=iD(),[zt,Vt]=J.reactExports.useState(!1);E&&zt&&Vt(!1),J.reactExports.useImperativeHandle(o,()=>({focusVisible:()=>{Vt(!0),ze.current.focus()}}),[]);const[sr,ji]=J.reactExports.useState(!1);J.reactExports.useEffect(()=>{ji(!0)},[]);const Hr=sr&&!P&&!E;J.reactExports.useEffect(()=>{zt&&j&&!P&&sr&&Ye.current.pulsate()},[P,j,zt,sr]);function Lt(De,qr,bi=W){return Du(Wn=>(qr&&qr(Wn),!bi&&Ye.current&&Ye.current[De](Wn),!0))}const fn=Lt("start",ie),vi=Lt("stop",ne),kn=Lt("stop",H),jr=Lt("stop",Le),Gt=Lt("stop",De=>{zt&&De.preventDefault(),d&&d(De)}),Ur=Lt("start",Ue),Ui=Lt("stop",le),Kt=Lt("stop",at),dn=Lt("stop",De=>{wt(De),Mt.current===!1&&Vt(!1),U&&U(De)},!1),ia=Du(De=>{ze.current||(ze.current=De.currentTarget),Nt(De),Mt.current===!0&&(Vt(!0),me&&me(De)),pe&&pe(De)}),ar=()=>{const De=ze.current;return k&&k!=="button"&&!(De.tagName==="A"&&De.href)},Ht=J.reactExports.useRef(!1),$t=Du(De=>{j&&!Ht.current&&zt&&Ye.current&&De.key===" "&&(Ht.current=!0,Ye.current.stop(De,()=>{Ye.current.start(De)})),De.target===De.currentTarget&&ar()&&De.key===" "&&De.preventDefault(),ye&&ye(De),De.target===De.currentTarget&&ar()&&De.key==="Enter"&&!E&&(De.preventDefault(),$&&$(De))}),Fn=Du(De=>{j&&De.key===" "&&Ye.current&&zt&&!De.defaultPrevented&&(Ht.current=!1,Ye.current.stop(De,()=>{Ye.current.pulsate(De)})),re&&re(De),$&&De.target===De.currentTarget&&ar()&&De.key===" "&&!De.defaultPrevented&&$(De)});let Yn=k;Yn==="button"&&(Et.href||Et.to)&&(Yn=G);const ce={};Yn==="button"?(ce.type=_t===void 0?"button":_t,ce.disabled=E):(!Et.href&&!Et.to&&(ce.role="button"),E&&(ce["aria-disabled"]=E));const Ft=Jp(r,$n,ze),br=ve._extends({},a,{centerRipple:c,component:k,disabled:E,disableRipple:P,disableTouchRipple:W,focusRipple:j,tabIndex:Je,focusVisible:zt}),_r=$C(br);return J.jsxRuntimeExports.jsxs(FC,ve._extends({as:Yn,className:Xn(_r.root,w),ownerState:br,onBlur:dn,onClick:$,onContextMenu:vi,onFocus:ia,onKeyDown:$t,onKeyUp:Fn,onMouseDown:fn,onMouseLeave:Gt,onMouseUp:jr,onDragLeave:kn,onTouchEnd:Ui,onTouchMove:Kt,onTouchStart:Ur,ref:Ft,tabIndex:E?-1:Je,type:_t},ce,Et,{children:[g,Hr?J.jsxRuntimeExports.jsx(IC,ve._extends({ref:ft,center:c},xe)):null]}))}),WC=YC,BC=J.reactExports.createContext(void 0),HC=BC;function jC(){return J.reactExports.useContext(HC)}function UC(e){return gl("PrivateSwitchBase",e)}ml("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const qC=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],zC=e=>{const{classes:t,checked:r,disabled:a,edge:o}=e,c={root:["root",r&&"checked",a&&"disabled",o&&`edge${$r(o)}`],input:["input"]};return ld(c,UC,t)},VC=Yr(WC)(({ownerState:e})=>ve._extends({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),GC=Yr("input",{shouldForwardProp:Mm})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),KC=J.reactExports.forwardRef(function(t,r){const{autoFocus:a,checked:o,checkedIcon:c,className:g,defaultChecked:w,disabled:k,disableFocusRipple:E=!1,edge:P=!1,icon:W,id:j,inputProps:G,inputRef:U,name:$,onBlur:ne,onChange:H,onFocus:pe,readOnly:me,required:ye=!1,tabIndex:re,type:ie,value:d}=t,Le=ve._objectWithoutPropertiesLoose(t,qC),[le,at]=zk({controlled:o,default:!!w,name:"SwitchBase",state:"checked"}),Ue=jC(),Je=ft=>{pe&&pe(ft),Ue&&Ue.onFocus&&Ue.onFocus(ft)},xe=ft=>{ne&&ne(ft),Ue&&Ue.onBlur&&Ue.onBlur(ft)},ot=ft=>{if(ft.nativeEvent.defaultPrevented)return;const Mt=ft.target.checked;at(Mt),H&&H(ft,Mt)};let _t=k;Ue&&typeof _t>"u"&&(_t=Ue.disabled);const Et=ie==="checkbox"||ie==="radio",ze=ve._extends({},t,{checked:le,disabled:_t,disableFocusRipple:E,edge:P}),Ye=zC(ze);return J.jsxRuntimeExports.jsxs(VC,ve._extends({component:"span",className:Xn(Ye.root,g),centerRipple:!0,focusRipple:!E,disabled:_t,tabIndex:null,role:void 0,onFocus:Je,onBlur:xe,ownerState:ze,ref:r},Le,{children:[J.jsxRuntimeExports.jsx(GC,ve._extends({autoFocus:a,checked:o,defaultChecked:w,className:Ye.input,disabled:_t,id:Et?j:void 0,name:$,onChange:ot,readOnly:me,ref:U,required:ye,ownerState:ze,tabIndex:re,type:ie},ie==="checkbox"&&d===void 0?{}:{value:d},G)),le?c:W]}))}),XC=KC;function ZC(e){return gl("MuiSwitch",e)}const JC=ml("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),ln=JC,QC=["className","color","edge","size","sx"],eT=e=>{const{classes:t,edge:r,size:a,color:o,checked:c,disabled:g}=e,w={root:["root",r&&`edge${$r(r)}`,`size${$r(a)}`],switchBase:["switchBase",`color${$r(o)}`,c&&"checked",g&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},k=ld(w,ZC,t);return ve._extends({},t,k)},tT=Yr("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${$r(r.edge)}`],t[`size${$r(r.size)}`]]}})(({ownerState:e})=>ve._extends({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},e.edge==="start"&&{marginLeft:-8},e.edge==="end"&&{marginRight:-8},e.size==="small"&&{width:40,height:24,padding:7,[`& .${ln.thumb}`]:{width:16,height:16},[`& .${ln.switchBase}`]:{padding:4,[`&.${ln.checked}`]:{transform:"translateX(16px)"}}})),nT=Yr(XC,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${ln.input}`]:t.input},r.color!=="default"&&t[`color${$r(r.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${ln.checked}`]:{transform:"translateX(20px)"},[`&.${ln.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${ln.checked} + .${ln.track}`]:{opacity:.5},[`&.${ln.disabled} + .${ln.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${ln.input}`]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>ve._extends({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:eg(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${ln.checked}`]:{color:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:eg(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ln.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t.color}DisabledColor`]:`${e.palette.mode==="light"?wm(e.palette[t.color].main,.62):_m(e.palette[t.color].main,.55)}`}},[`&.${ln.checked} + .${ln.track}`]:{backgroundColor:(e.vars||e).palette[t.color].main}})),rT=Yr("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),iT=Yr("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),sT=J.reactExports.forwardRef(function(t,r){const a=hd({props:t,name:"MuiSwitch"}),{className:o,color:c="primary",edge:g=!1,size:w="medium",sx:k}=a,E=ve._objectWithoutPropertiesLoose(a,QC),P=ve._extends({},a,{color:c,edge:g,size:w}),W=eT(P),j=J.jsxRuntimeExports.jsx(iT,{className:W.thumb,ownerState:P});return J.jsxRuntimeExports.jsxs(tT,{className:Xn(W.root,o),sx:k,ownerState:P,children:[J.jsxRuntimeExports.jsx(nT,ve._extends({type:"checkbox",icon:j,checkedIcon:j,ref:r,ownerState:P},E,{classes:ve._extends({},W,{root:W.switchBase})})),J.jsxRuntimeExports.jsx(rT,{className:W.track,ownerState:P})]})}),aT=sT;J.reactExports.createContext({});var Wu={exports:{}};/**
|
|
96
|
+
* @license
|
|
97
|
+
* Lodash <https://lodash.com/>
|
|
98
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
99
|
+
* Released under MIT license <https://lodash.com/license>
|
|
100
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
101
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
102
|
+
*/Wu.exports;(function(e,t){(function(){var r,a="4.17.21",o=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",g="Expected a function",w="Invalid `variable` option passed into `_.template`",k="__lodash_hash_undefined__",E=500,P="__lodash_placeholder__",W=1,j=2,G=4,U=1,$=2,ne=1,H=2,pe=4,me=8,ye=16,re=32,ie=64,d=128,Le=256,le=512,at=30,Ue="...",Je=800,xe=16,ot=1,_t=2,Et=3,ze=1/0,Ye=9007199254740991,ft=17976931348623157e292,Mt=0/0,Nt=4294967295,wt=Nt-1,$n=Nt>>>1,zt=[["ary",d],["bind",ne],["bindKey",H],["curry",me],["curryRight",ye],["flip",le],["partial",re],["partialRight",ie],["rearg",Le]],Vt="[object Arguments]",sr="[object Array]",ji="[object AsyncFunction]",Hr="[object Boolean]",Lt="[object Date]",fn="[object DOMException]",vi="[object Error]",kn="[object Function]",jr="[object GeneratorFunction]",Gt="[object Map]",Ur="[object Number]",Ui="[object Null]",Kt="[object Object]",dn="[object Promise]",ia="[object Proxy]",ar="[object RegExp]",Ht="[object Set]",$t="[object String]",Fn="[object Symbol]",Yn="[object Undefined]",ce="[object WeakMap]",Ft="[object WeakSet]",br="[object ArrayBuffer]",_r="[object DataView]",De="[object Float32Array]",qr="[object Float64Array]",bi="[object Int8Array]",Wn="[object Int16Array]",hn="[object Int32Array]",or="[object Uint8Array]",wr="[object Uint8ClampedArray]",sa="[object Uint16Array]",_i="[object Uint32Array]",po=/\b__p \+= '';/g,go=/\b(__p \+=) '' \+/g,ql=/(__e\(.*?\)|\b__t\)) \+\n'';/g,zr=/&(?:amp|lt|gt|quot|#39);/g,wi=/[&<>"']/g,mo=RegExp(zr.source),yo=RegExp(wi.source),pn=/<%-([\s\S]+?)%>/g,Xt=/<%([\s\S]+?)%>/g,vs=/<%=([\s\S]+?)%>/g,zl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vo=/^\w*$/,bo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xr=/[\\^$.*+?()[\]{}|]/g,xi=RegExp(xr.source),qi=/^\s+/,bs=/\s/,Vl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Gl=/\{\n\/\* \[wrapped with (.+)\] \*/,Kl=/,? & /,_o=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Xl=/[()=,{}\[\]\/\s]/,Zl=/\\(\\)?/g,wo=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,xo=/\w*$/,Si=/^[-+]0x[0-9a-f]+$/i,So=/^0b[01]+$/i,aa=/^\[object .+?Constructor\]$/,oa=/^0o[0-7]+$/i,_s=/^(?:0|[1-9]\d*)$/,ko=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ws=/($^)/,zi=/['\n\r\u2028\u2029\\]/g,Vi="\\ud800-\\udfff",Do="\\u0300-\\u036f",Co="\\ufe20-\\ufe2f",To="\\u20d0-\\u20ff",Eo=Do+Co+To,xs="\\u2700-\\u27bf",Mo="a-z\\xdf-\\xf6\\xf8-\\xff",Jl="\\xac\\xb1\\xd7\\xf7",Ao="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Oo="\\u2000-\\u206f",ua=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",la="A-Z\\xc0-\\xd6\\xd8-\\xde",jt="\\ufe0e\\ufe0f",Vr=Jl+Ao+Oo+ua,ki="['’]",Ql="["+Vi+"]",Io="["+Vr+"]",Di="["+Eo+"]",ca="\\d+",Ss="["+xs+"]",fa="["+Mo+"]",Ro="[^"+Vi+Vr+ca+xs+Mo+la+"]",da="\\ud83c[\\udffb-\\udfff]",Dn="(?:"+Di+"|"+da+")",ha="[^"+Vi+"]",Gr="(?:\\ud83c[\\udde6-\\uddff]){2}",pa="[\\ud800-\\udbff][\\udc00-\\udfff]",Ci="["+la+"]",Sr="\\u200d",kr="(?:"+fa+"|"+Ro+")",ga="(?:"+Ci+"|"+Ro+")",Po="(?:"+ki+"(?:d|ll|m|re|s|t|ve))?",Ti="(?:"+ki+"(?:D|LL|M|RE|S|T|VE))?",ma=Dn+"?",ks="["+jt+"]?",No="(?:"+Sr+"(?:"+[ha,Gr,pa].join("|")+")"+ks+ma+")*",Lo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ec="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ya=ks+ma+No,tc="(?:"+[Ss,Gr,pa].join("|")+")"+ya,nc="(?:"+[ha+Di+"?",Di,Gr,pa,Ql].join("|")+")",va=RegExp(ki,"g"),rc=RegExp(Di,"g"),ba=RegExp(da+"(?="+da+")|"+nc+ya,"g"),ic=RegExp([Ci+"?"+fa+"+"+Po+"(?="+[Io,Ci,"$"].join("|")+")",ga+"+"+Ti+"(?="+[Io,Ci+kr,"$"].join("|")+")",Ci+"?"+kr+"+"+Po,Ci+"+"+Ti,ec,Lo,ca,tc].join("|"),"g"),sc=RegExp("["+Sr+Vi+Eo+jt+"]"),ac=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,oc=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],uc=-1,it={};it[De]=it[qr]=it[bi]=it[Wn]=it[hn]=it[or]=it[wr]=it[sa]=it[_i]=!0,it[Vt]=it[sr]=it[br]=it[Hr]=it[_r]=it[Lt]=it[vi]=it[kn]=it[Gt]=it[Ur]=it[Kt]=it[ar]=it[Ht]=it[$t]=it[ce]=!1;var Qe={};Qe[Vt]=Qe[sr]=Qe[br]=Qe[_r]=Qe[Hr]=Qe[Lt]=Qe[De]=Qe[qr]=Qe[bi]=Qe[Wn]=Qe[hn]=Qe[Gt]=Qe[Ur]=Qe[Kt]=Qe[ar]=Qe[Ht]=Qe[$t]=Qe[Fn]=Qe[or]=Qe[wr]=Qe[sa]=Qe[_i]=!0,Qe[vi]=Qe[kn]=Qe[ce]=!1;var $o={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},_a={"&":"&","<":"<",">":">",'"':""","'":"'"},Fo={"&":"&","<":"<",">":">",""":'"',"'":"'"},Yo={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},wa=parseFloat,lc=parseInt,Wo=typeof J.commonjsGlobal=="object"&&J.commonjsGlobal&&J.commonjsGlobal.Object===Object&&J.commonjsGlobal,cc=typeof self=="object"&&self&&self.Object===Object&&self,pt=Wo||cc||Function("return this")(),Ds=t&&!t.nodeType&&t,ur=Ds&&!0&&e&&!e.nodeType&&e,Bo=ur&&ur.exports===Ds,xa=Bo&&Wo.process,gn=function(){try{var S=ur&&ur.require&&ur.require("util").types;return S||xa&&xa.binding&&xa.binding("util")}catch{}}(),s=gn&&gn.isArrayBuffer,l=gn&&gn.isDate,f=gn&&gn.isMap,p=gn&&gn.isRegExp,m=gn&&gn.isSet,y=gn&&gn.isTypedArray;function b(S,O,A){switch(A.length){case 0:return S.call(O);case 1:return S.call(O,A[0]);case 2:return S.call(O,A[0],A[1]);case 3:return S.call(O,A[0],A[1],A[2])}return S.apply(O,A)}function M(S,O,A,V){for(var K=-1,fe=S==null?0:S.length;++K<fe;){var de=S[K];O(V,de,A(de),S)}return V}function C(S,O){for(var A=-1,V=S==null?0:S.length;++A<V&&O(S[A],A,S)!==!1;);return S}function N(S,O){for(var A=S==null?0:S.length;A--&&O(S[A],A,S)!==!1;);return S}function q(S,O){for(var A=-1,V=S==null?0:S.length;++A<V;)if(!O(S[A],A,S))return!1;return!0}function z(S,O){for(var A=-1,V=S==null?0:S.length,K=0,fe=[];++A<V;){var de=S[A];O(de,A,S)&&(fe[K++]=de)}return fe}function Y(S,O){var A=S==null?0:S.length;return!!A&&tt(S,O,0)>-1}function ee(S,O,A){for(var V=-1,K=S==null?0:S.length;++V<K;)if(A(O,S[V]))return!0;return!1}function ue(S,O){for(var A=-1,V=S==null?0:S.length,K=Array(V);++A<V;)K[A]=O(S[A],A,S);return K}function Ee(S,O){for(var A=-1,V=O.length,K=S.length;++A<V;)S[K+A]=O[A];return S}function Te(S,O,A,V){var K=-1,fe=S==null?0:S.length;for(V&&fe&&(A=S[++K]);++K<fe;)A=O(A,S[K],K,S);return A}function At(S,O,A,V){var K=S==null?0:S.length;for(V&&K&&(A=S[--K]);K--;)A=O(A,S[K],K,S);return A}function gt(S,O){for(var A=-1,V=S==null?0:S.length;++A<V;)if(O(S[A],A,S))return!0;return!1}var Bn=Kr("length");function Hn(S){return S.split("")}function $e(S){return S.match(_o)||[]}function Dr(S,O,A){var V;return A(S,function(K,fe,de){if(O(K,fe,de))return V=fe,!1}),V}function Fe(S,O,A,V){for(var K=S.length,fe=A+(V?1:-1);V?fe--:++fe<K;)if(O(S[fe],fe,S))return fe;return-1}function tt(S,O,A){return O===O?hc(S,O,A):Fe(S,Cs,A)}function Gi(S,O,A,V){for(var K=A-1,fe=S.length;++K<fe;)if(V(S[K],O))return K;return-1}function Cs(S){return S!==S}function Cn(S,O){var A=S==null?0:S.length;return A?Zt(S,O)/A:Mt}function Kr(S){return function(O){return O==null?r:O[S]}}function mn(S){return function(O){return S==null?r:S[O]}}function lr(S,O,A,V,K){return K(S,function(fe,de,ae){A=V?(V=!1,fe):O(A,fe,de,ae)}),A}function Cr(S,O){var A=S.length;for(S.sort(O);A--;)S[A]=S[A].value;return S}function Zt(S,O){for(var A,V=-1,K=S.length;++V<K;){var fe=O(S[V]);fe!==r&&(A=A===r?fe:A+fe)}return A}function Ki(S,O){for(var A=-1,V=Array(S);++A<S;)V[A]=O(A);return V}function cr(S,O){return ue(O,function(A){return[A,S[A]]})}function jn(S){return S&&S.slice(0,jo(S)+1).replace(qi,"")}function nn(S){return function(O){return S(O)}}function Sa(S,O){return ue(O,function(A){return S[A]})}function Xi(S,O){return S.has(O)}function Ve(S,O){for(var A=-1,V=S.length;++A<V&&tt(O,S[A],0)>-1;);return A}function Zi(S,O){for(var A=S.length;A--&&tt(O,S[A],0)>-1;);return A}function Tn(S,O){for(var A=S.length,V=0;A--;)S[A]===O&&++V;return V}var Ei=mn($o),fc=mn(_a);function dc(S){return"\\"+Yo[S]}function Ho(S,O){return S==null?r:S[O]}function yn(S){return sc.test(S)}function ka(S){return ac.test(S)}function Tr(S){for(var O,A=[];!(O=S.next()).done;)A.push(O.value);return A}function Ts(S){var O=-1,A=Array(S.size);return S.forEach(function(V,K){A[++O]=[K,V]}),A}function Mi(S,O){return function(A){return S(O(A))}}function En(S,O){for(var A=-1,V=S.length,K=0,fe=[];++A<V;){var de=S[A];(de===O||de===P)&&(S[A]=P,fe[K++]=A)}return fe}function Xr(S){var O=-1,A=Array(S.size);return S.forEach(function(V){A[++O]=V}),A}function Da(S){var O=-1,A=Array(S.size);return S.forEach(function(V){A[++O]=[V,V]}),A}function hc(S,O,A){for(var V=A-1,K=S.length;++V<K;)if(S[V]===O)return V;return-1}function Es(S,O,A){for(var V=A+1;V--;)if(S[V]===O)return V;return V}function Er(S){return yn(S)?Uo(S):Bn(S)}function rn(S){return yn(S)?D(S):Hn(S)}function jo(S){for(var O=S.length;O--&&bs.test(S.charAt(O)););return O}var Ca=mn(Fo);function Uo(S){for(var O=ba.lastIndex=0;ba.test(S);)++O;return O}function D(S){return S.match(ba)||[]}function R(S){return S.match(ic)||[]}var F=function S(O){O=O==null?pt:B.defaults(pt.Object(),O,B.pick(pt,oc));var A=O.Array,V=O.Date,K=O.Error,fe=O.Function,de=O.Math,ae=O.Object,Ae=O.RegExp,_e=O.String,Pe=O.TypeError,Ot=A.prototype,Yt=fe.prototype,It=ae.prototype,sn=O["__core-js_shared__"],fr=Yt.toString,Ce=It.hasOwnProperty,sy=0,Kd=function(){var n=/[^.]+$/.exec(sn&&sn.keys&&sn.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}(),qo=It.toString,ay=fr.call(ae),oy=pt._,uy=Ae("^"+fr.call(Ce).replace(xr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zo=Bo?O.Buffer:r,Ai=O.Symbol,Vo=O.Uint8Array,Xd=zo?zo.allocUnsafe:r,Go=Mi(ae.getPrototypeOf,ae),Zd=ae.create,Jd=It.propertyIsEnumerable,Ko=Ot.splice,Qd=Ai?Ai.isConcatSpreadable:r,Ta=Ai?Ai.iterator:r,Ji=Ai?Ai.toStringTag:r,Xo=function(){try{var n=rs(ae,"defineProperty");return n({},"",{}),n}catch{}}(),ly=O.clearTimeout!==pt.clearTimeout&&O.clearTimeout,cy=V&&V.now!==pt.Date.now&&V.now,fy=O.setTimeout!==pt.setTimeout&&O.setTimeout,Zo=de.ceil,Jo=de.floor,pc=ae.getOwnPropertySymbols,dy=zo?zo.isBuffer:r,eh=O.isFinite,hy=Ot.join,py=Mi(ae.keys,ae),Rt=de.max,Jt=de.min,gy=V.now,my=O.parseInt,th=de.random,yy=Ot.reverse,gc=rs(O,"DataView"),Ea=rs(O,"Map"),mc=rs(O,"Promise"),Ms=rs(O,"Set"),Ma=rs(O,"WeakMap"),Aa=rs(ae,"create"),Qo=Ma&&new Ma,As={},vy=is(gc),by=is(Ea),_y=is(mc),wy=is(Ms),xy=is(Ma),eu=Ai?Ai.prototype:r,Oa=eu?eu.valueOf:r,nh=eu?eu.toString:r;function _(n){if(yt(n)&&!Me(n)&&!(n instanceof Be)){if(n instanceof Un)return n;if(Ce.call(n,"__wrapped__"))return rp(n)}return new Un(n)}var Os=function(){function n(){}return function(i){if(!mt(i))return{};if(Zd)return Zd(i);n.prototype=i;var u=new n;return n.prototype=r,u}}();function tu(){}function Un(n,i){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=r}_.templateSettings={escape:pn,evaluate:Xt,interpolate:vs,variable:"",imports:{_}},_.prototype=tu.prototype,_.prototype.constructor=_,Un.prototype=Os(tu.prototype),Un.prototype.constructor=Un;function Be(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Nt,this.__views__=[]}function Sy(){var n=new Be(this.__wrapped__);return n.__actions__=vn(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=vn(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=vn(this.__views__),n}function ky(){if(this.__filtered__){var n=new Be(this);n.__dir__=-1,n.__filtered__=!0}else n=this.clone(),n.__dir__*=-1;return n}function Dy(){var n=this.__wrapped__.value(),i=this.__dir__,u=Me(n),h=i<0,v=u?n.length:0,x=$v(0,v,this.__views__),T=x.start,I=x.end,L=I-T,X=h?I:T-1,Z=this.__iteratees__,Q=Z.length,se=0,ge=Jt(L,this.__takeCount__);if(!u||!h&&v==L&&ge==L)return Ch(n,this.__actions__);var Se=[];e:for(;L--&&se<ge;){X+=i;for(var Re=-1,ke=n[X];++Re<Q;){var We=Z[Re],je=We.iteratee,On=We.type,un=je(ke);if(On==_t)ke=un;else if(!un){if(On==ot)continue e;break e}}Se[se++]=ke}return Se}Be.prototype=Os(tu.prototype),Be.prototype.constructor=Be;function Qi(n){var i=-1,u=n==null?0:n.length;for(this.clear();++i<u;){var h=n[i];this.set(h[0],h[1])}}function Cy(){this.__data__=Aa?Aa(null):{},this.size=0}function Ty(n){var i=this.has(n)&&delete this.__data__[n];return this.size-=i?1:0,i}function Ey(n){var i=this.__data__;if(Aa){var u=i[n];return u===k?r:u}return Ce.call(i,n)?i[n]:r}function My(n){var i=this.__data__;return Aa?i[n]!==r:Ce.call(i,n)}function Ay(n,i){var u=this.__data__;return this.size+=this.has(n)?0:1,u[n]=Aa&&i===r?k:i,this}Qi.prototype.clear=Cy,Qi.prototype.delete=Ty,Qi.prototype.get=Ey,Qi.prototype.has=My,Qi.prototype.set=Ay;function Zr(n){var i=-1,u=n==null?0:n.length;for(this.clear();++i<u;){var h=n[i];this.set(h[0],h[1])}}function Oy(){this.__data__=[],this.size=0}function Iy(n){var i=this.__data__,u=nu(i,n);if(u<0)return!1;var h=i.length-1;return u==h?i.pop():Ko.call(i,u,1),--this.size,!0}function Ry(n){var i=this.__data__,u=nu(i,n);return u<0?r:i[u][1]}function Py(n){return nu(this.__data__,n)>-1}function Ny(n,i){var u=this.__data__,h=nu(u,n);return h<0?(++this.size,u.push([n,i])):u[h][1]=i,this}Zr.prototype.clear=Oy,Zr.prototype.delete=Iy,Zr.prototype.get=Ry,Zr.prototype.has=Py,Zr.prototype.set=Ny;function Jr(n){var i=-1,u=n==null?0:n.length;for(this.clear();++i<u;){var h=n[i];this.set(h[0],h[1])}}function Ly(){this.size=0,this.__data__={hash:new Qi,map:new(Ea||Zr),string:new Qi}}function $y(n){var i=pu(this,n).delete(n);return this.size-=i?1:0,i}function Fy(n){return pu(this,n).get(n)}function Yy(n){return pu(this,n).has(n)}function Wy(n,i){var u=pu(this,n),h=u.size;return u.set(n,i),this.size+=u.size==h?0:1,this}Jr.prototype.clear=Ly,Jr.prototype.delete=$y,Jr.prototype.get=Fy,Jr.prototype.has=Yy,Jr.prototype.set=Wy;function es(n){var i=-1,u=n==null?0:n.length;for(this.__data__=new Jr;++i<u;)this.add(n[i])}function By(n){return this.__data__.set(n,k),this}function Hy(n){return this.__data__.has(n)}es.prototype.add=es.prototype.push=By,es.prototype.has=Hy;function dr(n){var i=this.__data__=new Zr(n);this.size=i.size}function jy(){this.__data__=new Zr,this.size=0}function Uy(n){var i=this.__data__,u=i.delete(n);return this.size=i.size,u}function qy(n){return this.__data__.get(n)}function zy(n){return this.__data__.has(n)}function Vy(n,i){var u=this.__data__;if(u instanceof Zr){var h=u.__data__;if(!Ea||h.length<o-1)return h.push([n,i]),this.size=++u.size,this;u=this.__data__=new Jr(h)}return u.set(n,i),this.size=u.size,this}dr.prototype.clear=jy,dr.prototype.delete=Uy,dr.prototype.get=qy,dr.prototype.has=zy,dr.prototype.set=Vy;function rh(n,i){var u=Me(n),h=!u&&ss(n),v=!u&&!h&&Ni(n),x=!u&&!h&&!v&&Ns(n),T=u||h||v||x,I=T?Ki(n.length,_e):[],L=I.length;for(var X in n)(i||Ce.call(n,X))&&!(T&&(X=="length"||v&&(X=="offset"||X=="parent")||x&&(X=="buffer"||X=="byteLength"||X=="byteOffset")||ni(X,L)))&&I.push(X);return I}function ih(n){var i=n.length;return i?n[Tc(0,i-1)]:r}function Gy(n,i){return gu(vn(n),ts(i,0,n.length))}function Ky(n){return gu(vn(n))}function yc(n,i,u){(u!==r&&!hr(n[i],u)||u===r&&!(i in n))&&Qr(n,i,u)}function Ia(n,i,u){var h=n[i];(!(Ce.call(n,i)&&hr(h,u))||u===r&&!(i in n))&&Qr(n,i,u)}function nu(n,i){for(var u=n.length;u--;)if(hr(n[u][0],i))return u;return-1}function Xy(n,i,u,h){return Oi(n,function(v,x,T){i(h,v,u(v),T)}),h}function sh(n,i){return n&&Ar(i,Wt(i),n)}function Zy(n,i){return n&&Ar(i,_n(i),n)}function Qr(n,i,u){i=="__proto__"&&Xo?Xo(n,i,{configurable:!0,enumerable:!0,value:u,writable:!0}):n[i]=u}function vc(n,i){for(var u=-1,h=i.length,v=A(h),x=n==null;++u<h;)v[u]=x?r:Jc(n,i[u]);return v}function ts(n,i,u){return n===n&&(u!==r&&(n=n<=u?n:u),i!==r&&(n=n>=i?n:i)),n}function qn(n,i,u,h,v,x){var T,I=i&W,L=i&j,X=i&G;if(u&&(T=v?u(n,h,v,x):u(n)),T!==r)return T;if(!mt(n))return n;var Z=Me(n);if(Z){if(T=Yv(n),!I)return vn(n,T)}else{var Q=Qt(n),se=Q==kn||Q==jr;if(Ni(n))return Mh(n,I);if(Q==Kt||Q==Vt||se&&!v){if(T=L||se?{}:Gh(n),!I)return L?Ev(n,Zy(T,n)):Tv(n,sh(T,n))}else{if(!Qe[Q])return v?n:{};T=Wv(n,Q,I)}}x||(x=new dr);var ge=x.get(n);if(ge)return ge;x.set(n,T),Sp(n)?n.forEach(function(ke){T.add(qn(ke,i,u,ke,n,x))}):wp(n)&&n.forEach(function(ke,We){T.set(We,qn(ke,i,u,We,n,x))});var Se=X?L?Fc:$c:L?_n:Wt,Re=Z?r:Se(n);return C(Re||n,function(ke,We){Re&&(We=ke,ke=n[We]),Ia(T,We,qn(ke,i,u,We,n,x))}),T}function Jy(n){var i=Wt(n);return function(u){return ah(u,n,i)}}function ah(n,i,u){var h=u.length;if(n==null)return!h;for(n=ae(n);h--;){var v=u[h],x=i[v],T=n[v];if(T===r&&!(v in n)||!x(T))return!1}return!0}function oh(n,i,u){if(typeof n!="function")throw new Pe(g);return Ya(function(){n.apply(r,u)},i)}function Ra(n,i,u,h){var v=-1,x=Y,T=!0,I=n.length,L=[],X=i.length;if(!I)return L;u&&(i=ue(i,nn(u))),h?(x=ee,T=!1):i.length>=o&&(x=Xi,T=!1,i=new es(i));e:for(;++v<I;){var Z=n[v],Q=u==null?Z:u(Z);if(Z=h||Z!==0?Z:0,T&&Q===Q){for(var se=X;se--;)if(i[se]===Q)continue e;L.push(Z)}else x(i,Q,h)||L.push(Z)}return L}var Oi=Ph(Mr),uh=Ph(_c,!0);function Qy(n,i){var u=!0;return Oi(n,function(h,v,x){return u=!!i(h,v,x),u}),u}function ru(n,i,u){for(var h=-1,v=n.length;++h<v;){var x=n[h],T=i(x);if(T!=null&&(I===r?T===T&&!An(T):u(T,I)))var I=T,L=x}return L}function ev(n,i,u,h){var v=n.length;for(u=Oe(u),u<0&&(u=-u>v?0:v+u),h=h===r||h>v?v:Oe(h),h<0&&(h+=v),h=u>h?0:Dp(h);u<h;)n[u++]=i;return n}function lh(n,i){var u=[];return Oi(n,function(h,v,x){i(h,v,x)&&u.push(h)}),u}function Ut(n,i,u,h,v){var x=-1,T=n.length;for(u||(u=Hv),v||(v=[]);++x<T;){var I=n[x];i>0&&u(I)?i>1?Ut(I,i-1,u,h,v):Ee(v,I):h||(v[v.length]=I)}return v}var bc=Nh(),ch=Nh(!0);function Mr(n,i){return n&&bc(n,i,Wt)}function _c(n,i){return n&&ch(n,i,Wt)}function iu(n,i){return z(i,function(u){return ri(n[u])})}function ns(n,i){i=Ri(i,n);for(var u=0,h=i.length;n!=null&&u<h;)n=n[Or(i[u++])];return u&&u==h?n:r}function fh(n,i,u){var h=i(n);return Me(n)?h:Ee(h,u(n))}function an(n){return n==null?n===r?Yn:Ui:Ji&&Ji in ae(n)?Lv(n):Kv(n)}function wc(n,i){return n>i}function tv(n,i){return n!=null&&Ce.call(n,i)}function nv(n,i){return n!=null&&i in ae(n)}function rv(n,i,u){return n>=Jt(i,u)&&n<Rt(i,u)}function xc(n,i,u){for(var h=u?ee:Y,v=n[0].length,x=n.length,T=x,I=A(x),L=1/0,X=[];T--;){var Z=n[T];T&&i&&(Z=ue(Z,nn(i))),L=Jt(Z.length,L),I[T]=!u&&(i||v>=120&&Z.length>=120)?new es(T&&Z):r}Z=n[0];var Q=-1,se=I[0];e:for(;++Q<v&&X.length<L;){var ge=Z[Q],Se=i?i(ge):ge;if(ge=u||ge!==0?ge:0,!(se?Xi(se,Se):h(X,Se,u))){for(T=x;--T;){var Re=I[T];if(!(Re?Xi(Re,Se):h(n[T],Se,u)))continue e}se&&se.push(Se),X.push(ge)}}return X}function iv(n,i,u,h){return Mr(n,function(v,x,T){i(h,u(v),x,T)}),h}function Pa(n,i,u){i=Ri(i,n),n=Jh(n,i);var h=n==null?n:n[Or(Vn(i))];return h==null?r:b(h,n,u)}function dh(n){return yt(n)&&an(n)==Vt}function sv(n){return yt(n)&&an(n)==br}function av(n){return yt(n)&&an(n)==Lt}function Na(n,i,u,h,v){return n===i?!0:n==null||i==null||!yt(n)&&!yt(i)?n!==n&&i!==i:ov(n,i,u,h,Na,v)}function ov(n,i,u,h,v,x){var T=Me(n),I=Me(i),L=T?sr:Qt(n),X=I?sr:Qt(i);L=L==Vt?Kt:L,X=X==Vt?Kt:X;var Z=L==Kt,Q=X==Kt,se=L==X;if(se&&Ni(n)){if(!Ni(i))return!1;T=!0,Z=!1}if(se&&!Z)return x||(x=new dr),T||Ns(n)?qh(n,i,u,h,v,x):Pv(n,i,L,u,h,v,x);if(!(u&U)){var ge=Z&&Ce.call(n,"__wrapped__"),Se=Q&&Ce.call(i,"__wrapped__");if(ge||Se){var Re=ge?n.value():n,ke=Se?i.value():i;return x||(x=new dr),v(Re,ke,u,h,x)}}return se?(x||(x=new dr),Nv(n,i,u,h,v,x)):!1}function uv(n){return yt(n)&&Qt(n)==Gt}function Sc(n,i,u,h){var v=u.length,x=v,T=!h;if(n==null)return!x;for(n=ae(n);v--;){var I=u[v];if(T&&I[2]?I[1]!==n[I[0]]:!(I[0]in n))return!1}for(;++v<x;){I=u[v];var L=I[0],X=n[L],Z=I[1];if(T&&I[2]){if(X===r&&!(L in n))return!1}else{var Q=new dr;if(h)var se=h(X,Z,L,n,i,Q);if(!(se===r?Na(Z,X,U|$,h,Q):se))return!1}}return!0}function hh(n){if(!mt(n)||Uv(n))return!1;var i=ri(n)?uy:aa;return i.test(is(n))}function lv(n){return yt(n)&&an(n)==ar}function cv(n){return yt(n)&&Qt(n)==Ht}function fv(n){return yt(n)&&wu(n.length)&&!!it[an(n)]}function ph(n){return typeof n=="function"?n:n==null?wn:typeof n=="object"?Me(n)?yh(n[0],n[1]):mh(n):Lp(n)}function kc(n){if(!Fa(n))return py(n);var i=[];for(var u in ae(n))Ce.call(n,u)&&u!="constructor"&&i.push(u);return i}function dv(n){if(!mt(n))return Gv(n);var i=Fa(n),u=[];for(var h in n)h=="constructor"&&(i||!Ce.call(n,h))||u.push(h);return u}function Dc(n,i){return n<i}function gh(n,i){var u=-1,h=bn(n)?A(n.length):[];return Oi(n,function(v,x,T){h[++u]=i(v,x,T)}),h}function mh(n){var i=Wc(n);return i.length==1&&i[0][2]?Xh(i[0][0],i[0][1]):function(u){return u===n||Sc(u,n,i)}}function yh(n,i){return Hc(n)&&Kh(i)?Xh(Or(n),i):function(u){var h=Jc(u,n);return h===r&&h===i?Qc(u,n):Na(i,h,U|$)}}function su(n,i,u,h,v){n!==i&&bc(i,function(x,T){if(v||(v=new dr),mt(x))hv(n,i,T,u,su,h,v);else{var I=h?h(Uc(n,T),x,T+"",n,i,v):r;I===r&&(I=x),yc(n,T,I)}},_n)}function hv(n,i,u,h,v,x,T){var I=Uc(n,u),L=Uc(i,u),X=T.get(L);if(X){yc(n,u,X);return}var Z=x?x(I,L,u+"",n,i,T):r,Q=Z===r;if(Q){var se=Me(L),ge=!se&&Ni(L),Se=!se&&!ge&&Ns(L);Z=L,se||ge||Se?Me(I)?Z=I:xt(I)?Z=vn(I):ge?(Q=!1,Z=Mh(L,!0)):Se?(Q=!1,Z=Ah(L,!0)):Z=[]:Wa(L)||ss(L)?(Z=I,ss(I)?Z=Cp(I):(!mt(I)||ri(I))&&(Z=Gh(L))):Q=!1}Q&&(T.set(L,Z),v(Z,L,h,x,T),T.delete(L)),yc(n,u,Z)}function vh(n,i){var u=n.length;if(u)return i+=i<0?u:0,ni(i,u)?n[i]:r}function bh(n,i,u){i.length?i=ue(i,function(x){return Me(x)?function(T){return ns(T,x.length===1?x[0]:x)}:x}):i=[wn];var h=-1;i=ue(i,nn(we()));var v=gh(n,function(x,T,I){var L=ue(i,function(X){return X(x)});return{criteria:L,index:++h,value:x}});return Cr(v,function(x,T){return Cv(x,T,u)})}function pv(n,i){return _h(n,i,function(u,h){return Qc(n,h)})}function _h(n,i,u){for(var h=-1,v=i.length,x={};++h<v;){var T=i[h],I=ns(n,T);u(I,T)&&La(x,Ri(T,n),I)}return x}function gv(n){return function(i){return ns(i,n)}}function Cc(n,i,u,h){var v=h?Gi:tt,x=-1,T=i.length,I=n;for(n===i&&(i=vn(i)),u&&(I=ue(n,nn(u)));++x<T;)for(var L=0,X=i[x],Z=u?u(X):X;(L=v(I,Z,L,h))>-1;)I!==n&&Ko.call(I,L,1),Ko.call(n,L,1);return n}function wh(n,i){for(var u=n?i.length:0,h=u-1;u--;){var v=i[u];if(u==h||v!==x){var x=v;ni(v)?Ko.call(n,v,1):Ac(n,v)}}return n}function Tc(n,i){return n+Jo(th()*(i-n+1))}function mv(n,i,u,h){for(var v=-1,x=Rt(Zo((i-n)/(u||1)),0),T=A(x);x--;)T[h?x:++v]=n,n+=u;return T}function Ec(n,i){var u="";if(!n||i<1||i>Ye)return u;do i%2&&(u+=n),i=Jo(i/2),i&&(n+=n);while(i);return u}function Ne(n,i){return qc(Zh(n,i,wn),n+"")}function yv(n){return ih(Ls(n))}function vv(n,i){var u=Ls(n);return gu(u,ts(i,0,u.length))}function La(n,i,u,h){if(!mt(n))return n;i=Ri(i,n);for(var v=-1,x=i.length,T=x-1,I=n;I!=null&&++v<x;){var L=Or(i[v]),X=u;if(L==="__proto__"||L==="constructor"||L==="prototype")return n;if(v!=T){var Z=I[L];X=h?h(Z,L,I):r,X===r&&(X=mt(Z)?Z:ni(i[v+1])?[]:{})}Ia(I,L,X),I=I[L]}return n}var xh=Qo?function(n,i){return Qo.set(n,i),n}:wn,bv=Xo?function(n,i){return Xo(n,"toString",{configurable:!0,enumerable:!1,value:tf(i),writable:!0})}:wn;function _v(n){return gu(Ls(n))}function zn(n,i,u){var h=-1,v=n.length;i<0&&(i=-i>v?0:v+i),u=u>v?v:u,u<0&&(u+=v),v=i>u?0:u-i>>>0,i>>>=0;for(var x=A(v);++h<v;)x[h]=n[h+i];return x}function wv(n,i){var u;return Oi(n,function(h,v,x){return u=i(h,v,x),!u}),!!u}function au(n,i,u){var h=0,v=n==null?h:n.length;if(typeof i=="number"&&i===i&&v<=$n){for(;h<v;){var x=h+v>>>1,T=n[x];T!==null&&!An(T)&&(u?T<=i:T<i)?h=x+1:v=x}return v}return Mc(n,i,wn,u)}function Mc(n,i,u,h){var v=0,x=n==null?0:n.length;if(x===0)return 0;i=u(i);for(var T=i!==i,I=i===null,L=An(i),X=i===r;v<x;){var Z=Jo((v+x)/2),Q=u(n[Z]),se=Q!==r,ge=Q===null,Se=Q===Q,Re=An(Q);if(T)var ke=h||Se;else X?ke=Se&&(h||se):I?ke=Se&&se&&(h||!ge):L?ke=Se&&se&&!ge&&(h||!Re):ge||Re?ke=!1:ke=h?Q<=i:Q<i;ke?v=Z+1:x=Z}return Jt(x,wt)}function Sh(n,i){for(var u=-1,h=n.length,v=0,x=[];++u<h;){var T=n[u],I=i?i(T):T;if(!u||!hr(I,L)){var L=I;x[v++]=T===0?0:T}}return x}function kh(n){return typeof n=="number"?n:An(n)?Mt:+n}function Mn(n){if(typeof n=="string")return n;if(Me(n))return ue(n,Mn)+"";if(An(n))return nh?nh.call(n):"";var i=n+"";return i=="0"&&1/n==-ze?"-0":i}function Ii(n,i,u){var h=-1,v=Y,x=n.length,T=!0,I=[],L=I;if(u)T=!1,v=ee;else if(x>=o){var X=i?null:Iv(n);if(X)return Xr(X);T=!1,v=Xi,L=new es}else L=i?[]:I;e:for(;++h<x;){var Z=n[h],Q=i?i(Z):Z;if(Z=u||Z!==0?Z:0,T&&Q===Q){for(var se=L.length;se--;)if(L[se]===Q)continue e;i&&L.push(Q),I.push(Z)}else v(L,Q,u)||(L!==I&&L.push(Q),I.push(Z))}return I}function Ac(n,i){return i=Ri(i,n),n=Jh(n,i),n==null||delete n[Or(Vn(i))]}function Dh(n,i,u,h){return La(n,i,u(ns(n,i)),h)}function ou(n,i,u,h){for(var v=n.length,x=h?v:-1;(h?x--:++x<v)&&i(n[x],x,n););return u?zn(n,h?0:x,h?x+1:v):zn(n,h?x+1:0,h?v:x)}function Ch(n,i){var u=n;return u instanceof Be&&(u=u.value()),Te(i,function(h,v){return v.func.apply(v.thisArg,Ee([h],v.args))},u)}function Oc(n,i,u){var h=n.length;if(h<2)return h?Ii(n[0]):[];for(var v=-1,x=A(h);++v<h;)for(var T=n[v],I=-1;++I<h;)I!=v&&(x[v]=Ra(x[v]||T,n[I],i,u));return Ii(Ut(x,1),i,u)}function Th(n,i,u){for(var h=-1,v=n.length,x=i.length,T={};++h<v;){var I=h<x?i[h]:r;u(T,n[h],I)}return T}function Ic(n){return xt(n)?n:[]}function Rc(n){return typeof n=="function"?n:wn}function Ri(n,i){return Me(n)?n:Hc(n,i)?[n]:np(et(n))}var xv=Ne;function Pi(n,i,u){var h=n.length;return u=u===r?h:u,!i&&u>=h?n:zn(n,i,u)}var Eh=ly||function(n){return pt.clearTimeout(n)};function Mh(n,i){if(i)return n.slice();var u=n.length,h=Xd?Xd(u):new n.constructor(u);return n.copy(h),h}function Pc(n){var i=new n.constructor(n.byteLength);return new Vo(i).set(new Vo(n)),i}function Sv(n,i){var u=i?Pc(n.buffer):n.buffer;return new n.constructor(u,n.byteOffset,n.byteLength)}function kv(n){var i=new n.constructor(n.source,xo.exec(n));return i.lastIndex=n.lastIndex,i}function Dv(n){return Oa?ae(Oa.call(n)):{}}function Ah(n,i){var u=i?Pc(n.buffer):n.buffer;return new n.constructor(u,n.byteOffset,n.length)}function Oh(n,i){if(n!==i){var u=n!==r,h=n===null,v=n===n,x=An(n),T=i!==r,I=i===null,L=i===i,X=An(i);if(!I&&!X&&!x&&n>i||x&&T&&L&&!I&&!X||h&&T&&L||!u&&L||!v)return 1;if(!h&&!x&&!X&&n<i||X&&u&&v&&!h&&!x||I&&u&&v||!T&&v||!L)return-1}return 0}function Cv(n,i,u){for(var h=-1,v=n.criteria,x=i.criteria,T=v.length,I=u.length;++h<T;){var L=Oh(v[h],x[h]);if(L){if(h>=I)return L;var X=u[h];return L*(X=="desc"?-1:1)}}return n.index-i.index}function Ih(n,i,u,h){for(var v=-1,x=n.length,T=u.length,I=-1,L=i.length,X=Rt(x-T,0),Z=A(L+X),Q=!h;++I<L;)Z[I]=i[I];for(;++v<T;)(Q||v<x)&&(Z[u[v]]=n[v]);for(;X--;)Z[I++]=n[v++];return Z}function Rh(n,i,u,h){for(var v=-1,x=n.length,T=-1,I=u.length,L=-1,X=i.length,Z=Rt(x-I,0),Q=A(Z+X),se=!h;++v<Z;)Q[v]=n[v];for(var ge=v;++L<X;)Q[ge+L]=i[L];for(;++T<I;)(se||v<x)&&(Q[ge+u[T]]=n[v++]);return Q}function vn(n,i){var u=-1,h=n.length;for(i||(i=A(h));++u<h;)i[u]=n[u];return i}function Ar(n,i,u,h){var v=!u;u||(u={});for(var x=-1,T=i.length;++x<T;){var I=i[x],L=h?h(u[I],n[I],I,u,n):r;L===r&&(L=n[I]),v?Qr(u,I,L):Ia(u,I,L)}return u}function Tv(n,i){return Ar(n,Bc(n),i)}function Ev(n,i){return Ar(n,zh(n),i)}function uu(n,i){return function(u,h){var v=Me(u)?M:Xy,x=i?i():{};return v(u,n,we(h,2),x)}}function Is(n){return Ne(function(i,u){var h=-1,v=u.length,x=v>1?u[v-1]:r,T=v>2?u[2]:r;for(x=n.length>3&&typeof x=="function"?(v--,x):r,T&&on(u[0],u[1],T)&&(x=v<3?r:x,v=1),i=ae(i);++h<v;){var I=u[h];I&&n(i,I,h,x)}return i})}function Ph(n,i){return function(u,h){if(u==null)return u;if(!bn(u))return n(u,h);for(var v=u.length,x=i?v:-1,T=ae(u);(i?x--:++x<v)&&h(T[x],x,T)!==!1;);return u}}function Nh(n){return function(i,u,h){for(var v=-1,x=ae(i),T=h(i),I=T.length;I--;){var L=T[n?I:++v];if(u(x[L],L,x)===!1)break}return i}}function Mv(n,i,u){var h=i&ne,v=$a(n);function x(){var T=this&&this!==pt&&this instanceof x?v:n;return T.apply(h?u:this,arguments)}return x}function Lh(n){return function(i){i=et(i);var u=yn(i)?rn(i):r,h=u?u[0]:i.charAt(0),v=u?Pi(u,1).join(""):i.slice(1);return h[n]()+v}}function Rs(n){return function(i){return Te(Pp(Rp(i).replace(va,"")),n,"")}}function $a(n){return function(){var i=arguments;switch(i.length){case 0:return new n;case 1:return new n(i[0]);case 2:return new n(i[0],i[1]);case 3:return new n(i[0],i[1],i[2]);case 4:return new n(i[0],i[1],i[2],i[3]);case 5:return new n(i[0],i[1],i[2],i[3],i[4]);case 6:return new n(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new n(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var u=Os(n.prototype),h=n.apply(u,i);return mt(h)?h:u}}function Av(n,i,u){var h=$a(n);function v(){for(var x=arguments.length,T=A(x),I=x,L=Ps(v);I--;)T[I]=arguments[I];var X=x<3&&T[0]!==L&&T[x-1]!==L?[]:En(T,L);if(x-=X.length,x<u)return Bh(n,i,lu,v.placeholder,r,T,X,r,r,u-x);var Z=this&&this!==pt&&this instanceof v?h:n;return b(Z,this,T)}return v}function $h(n){return function(i,u,h){var v=ae(i);if(!bn(i)){var x=we(u,3);i=Wt(i),u=function(I){return x(v[I],I,v)}}var T=n(i,u,h);return T>-1?v[x?i[T]:T]:r}}function Fh(n){return ti(function(i){var u=i.length,h=u,v=Un.prototype.thru;for(n&&i.reverse();h--;){var x=i[h];if(typeof x!="function")throw new Pe(g);if(v&&!T&&hu(x)=="wrapper")var T=new Un([],!0)}for(h=T?h:u;++h<u;){x=i[h];var I=hu(x),L=I=="wrapper"?Yc(x):r;L&&jc(L[0])&&L[1]==(d|me|re|Le)&&!L[4].length&&L[9]==1?T=T[hu(L[0])].apply(T,L[3]):T=x.length==1&&jc(x)?T[I]():T.thru(x)}return function(){var X=arguments,Z=X[0];if(T&&X.length==1&&Me(Z))return T.plant(Z).value();for(var Q=0,se=u?i[Q].apply(this,X):Z;++Q<u;)se=i[Q].call(this,se);return se}})}function lu(n,i,u,h,v,x,T,I,L,X){var Z=i&d,Q=i&ne,se=i&H,ge=i&(me|ye),Se=i&le,Re=se?r:$a(n);function ke(){for(var We=arguments.length,je=A(We),On=We;On--;)je[On]=arguments[On];if(ge)var un=Ps(ke),In=Tn(je,un);if(h&&(je=Ih(je,h,v,ge)),x&&(je=Rh(je,x,T,ge)),We-=In,ge&&We<X){var St=En(je,un);return Bh(n,i,lu,ke.placeholder,u,je,St,I,L,X-We)}var pr=Q?u:this,si=se?pr[n]:n;return We=je.length,I?je=Xv(je,I):Se&&We>1&&je.reverse(),Z&&L<We&&(je.length=L),this&&this!==pt&&this instanceof ke&&(si=Re||$a(si)),si.apply(pr,je)}return ke}function Yh(n,i){return function(u,h){return iv(u,n,i(h),{})}}function cu(n,i){return function(u,h){var v;if(u===r&&h===r)return i;if(u!==r&&(v=u),h!==r){if(v===r)return h;typeof u=="string"||typeof h=="string"?(u=Mn(u),h=Mn(h)):(u=kh(u),h=kh(h)),v=n(u,h)}return v}}function Nc(n){return ti(function(i){return i=ue(i,nn(we())),Ne(function(u){var h=this;return n(i,function(v){return b(v,h,u)})})})}function fu(n,i){i=i===r?" ":Mn(i);var u=i.length;if(u<2)return u?Ec(i,n):i;var h=Ec(i,Zo(n/Er(i)));return yn(i)?Pi(rn(h),0,n).join(""):h.slice(0,n)}function Ov(n,i,u,h){var v=i&ne,x=$a(n);function T(){for(var I=-1,L=arguments.length,X=-1,Z=h.length,Q=A(Z+L),se=this&&this!==pt&&this instanceof T?x:n;++X<Z;)Q[X]=h[X];for(;L--;)Q[X++]=arguments[++I];return b(se,v?u:this,Q)}return T}function Wh(n){return function(i,u,h){return h&&typeof h!="number"&&on(i,u,h)&&(u=h=r),i=ii(i),u===r?(u=i,i=0):u=ii(u),h=h===r?i<u?1:-1:ii(h),mv(i,u,h,n)}}function du(n){return function(i,u){return typeof i=="string"&&typeof u=="string"||(i=Gn(i),u=Gn(u)),n(i,u)}}function Bh(n,i,u,h,v,x,T,I,L,X){var Z=i&me,Q=Z?T:r,se=Z?r:T,ge=Z?x:r,Se=Z?r:x;i|=Z?re:ie,i&=~(Z?ie:re),i&pe||(i&=~(ne|H));var Re=[n,i,v,ge,Q,Se,se,I,L,X],ke=u.apply(r,Re);return jc(n)&&Qh(ke,Re),ke.placeholder=h,ep(ke,n,i)}function Lc(n){var i=de[n];return function(u,h){if(u=Gn(u),h=h==null?0:Jt(Oe(h),292),h&&eh(u)){var v=(et(u)+"e").split("e"),x=i(v[0]+"e"+(+v[1]+h));return v=(et(x)+"e").split("e"),+(v[0]+"e"+(+v[1]-h))}return i(u)}}var Iv=Ms&&1/Xr(new Ms([,-0]))[1]==ze?function(n){return new Ms(n)}:sf;function Hh(n){return function(i){var u=Qt(i);return u==Gt?Ts(i):u==Ht?Da(i):cr(i,n(i))}}function ei(n,i,u,h,v,x,T,I){var L=i&H;if(!L&&typeof n!="function")throw new Pe(g);var X=h?h.length:0;if(X||(i&=~(re|ie),h=v=r),T=T===r?T:Rt(Oe(T),0),I=I===r?I:Oe(I),X-=v?v.length:0,i&ie){var Z=h,Q=v;h=v=r}var se=L?r:Yc(n),ge=[n,i,u,h,v,Z,Q,x,T,I];if(se&&Vv(ge,se),n=ge[0],i=ge[1],u=ge[2],h=ge[3],v=ge[4],I=ge[9]=ge[9]===r?L?0:n.length:Rt(ge[9]-X,0),!I&&i&(me|ye)&&(i&=~(me|ye)),!i||i==ne)var Se=Mv(n,i,u);else i==me||i==ye?Se=Av(n,i,I):(i==re||i==(ne|re))&&!v.length?Se=Ov(n,i,u,h):Se=lu.apply(r,ge);var Re=se?xh:Qh;return ep(Re(Se,ge),n,i)}function jh(n,i,u,h){return n===r||hr(n,It[u])&&!Ce.call(h,u)?i:n}function Uh(n,i,u,h,v,x){return mt(n)&&mt(i)&&(x.set(i,n),su(n,i,r,Uh,x),x.delete(i)),n}function Rv(n){return Wa(n)?r:n}function qh(n,i,u,h,v,x){var T=u&U,I=n.length,L=i.length;if(I!=L&&!(T&&L>I))return!1;var X=x.get(n),Z=x.get(i);if(X&&Z)return X==i&&Z==n;var Q=-1,se=!0,ge=u&$?new es:r;for(x.set(n,i),x.set(i,n);++Q<I;){var Se=n[Q],Re=i[Q];if(h)var ke=T?h(Re,Se,Q,i,n,x):h(Se,Re,Q,n,i,x);if(ke!==r){if(ke)continue;se=!1;break}if(ge){if(!gt(i,function(We,je){if(!Xi(ge,je)&&(Se===We||v(Se,We,u,h,x)))return ge.push(je)})){se=!1;break}}else if(!(Se===Re||v(Se,Re,u,h,x))){se=!1;break}}return x.delete(n),x.delete(i),se}function Pv(n,i,u,h,v,x,T){switch(u){case _r:if(n.byteLength!=i.byteLength||n.byteOffset!=i.byteOffset)return!1;n=n.buffer,i=i.buffer;case br:return!(n.byteLength!=i.byteLength||!x(new Vo(n),new Vo(i)));case Hr:case Lt:case Ur:return hr(+n,+i);case vi:return n.name==i.name&&n.message==i.message;case ar:case $t:return n==i+"";case Gt:var I=Ts;case Ht:var L=h&U;if(I||(I=Xr),n.size!=i.size&&!L)return!1;var X=T.get(n);if(X)return X==i;h|=$,T.set(n,i);var Z=qh(I(n),I(i),h,v,x,T);return T.delete(n),Z;case Fn:if(Oa)return Oa.call(n)==Oa.call(i)}return!1}function Nv(n,i,u,h,v,x){var T=u&U,I=$c(n),L=I.length,X=$c(i),Z=X.length;if(L!=Z&&!T)return!1;for(var Q=L;Q--;){var se=I[Q];if(!(T?se in i:Ce.call(i,se)))return!1}var ge=x.get(n),Se=x.get(i);if(ge&&Se)return ge==i&&Se==n;var Re=!0;x.set(n,i),x.set(i,n);for(var ke=T;++Q<L;){se=I[Q];var We=n[se],je=i[se];if(h)var On=T?h(je,We,se,i,n,x):h(We,je,se,n,i,x);if(!(On===r?We===je||v(We,je,u,h,x):On)){Re=!1;break}ke||(ke=se=="constructor")}if(Re&&!ke){var un=n.constructor,In=i.constructor;un!=In&&"constructor"in n&&"constructor"in i&&!(typeof un=="function"&&un instanceof un&&typeof In=="function"&&In instanceof In)&&(Re=!1)}return x.delete(n),x.delete(i),Re}function ti(n){return qc(Zh(n,r,ap),n+"")}function $c(n){return fh(n,Wt,Bc)}function Fc(n){return fh(n,_n,zh)}var Yc=Qo?function(n){return Qo.get(n)}:sf;function hu(n){for(var i=n.name+"",u=As[i],h=Ce.call(As,i)?u.length:0;h--;){var v=u[h],x=v.func;if(x==null||x==n)return v.name}return i}function Ps(n){var i=Ce.call(_,"placeholder")?_:n;return i.placeholder}function we(){var n=_.iteratee||nf;return n=n===nf?ph:n,arguments.length?n(arguments[0],arguments[1]):n}function pu(n,i){var u=n.__data__;return jv(i)?u[typeof i=="string"?"string":"hash"]:u.map}function Wc(n){for(var i=Wt(n),u=i.length;u--;){var h=i[u],v=n[h];i[u]=[h,v,Kh(v)]}return i}function rs(n,i){var u=Ho(n,i);return hh(u)?u:r}function Lv(n){var i=Ce.call(n,Ji),u=n[Ji];try{n[Ji]=r;var h=!0}catch{}var v=qo.call(n);return h&&(i?n[Ji]=u:delete n[Ji]),v}var Bc=pc?function(n){return n==null?[]:(n=ae(n),z(pc(n),function(i){return Jd.call(n,i)}))}:af,zh=pc?function(n){for(var i=[];n;)Ee(i,Bc(n)),n=Go(n);return i}:af,Qt=an;(gc&&Qt(new gc(new ArrayBuffer(1)))!=_r||Ea&&Qt(new Ea)!=Gt||mc&&Qt(mc.resolve())!=dn||Ms&&Qt(new Ms)!=Ht||Ma&&Qt(new Ma)!=ce)&&(Qt=function(n){var i=an(n),u=i==Kt?n.constructor:r,h=u?is(u):"";if(h)switch(h){case vy:return _r;case by:return Gt;case _y:return dn;case wy:return Ht;case xy:return ce}return i});function $v(n,i,u){for(var h=-1,v=u.length;++h<v;){var x=u[h],T=x.size;switch(x.type){case"drop":n+=T;break;case"dropRight":i-=T;break;case"take":i=Jt(i,n+T);break;case"takeRight":n=Rt(n,i-T);break}}return{start:n,end:i}}function Fv(n){var i=n.match(Gl);return i?i[1].split(Kl):[]}function Vh(n,i,u){i=Ri(i,n);for(var h=-1,v=i.length,x=!1;++h<v;){var T=Or(i[h]);if(!(x=n!=null&&u(n,T)))break;n=n[T]}return x||++h!=v?x:(v=n==null?0:n.length,!!v&&wu(v)&&ni(T,v)&&(Me(n)||ss(n)))}function Yv(n){var i=n.length,u=new n.constructor(i);return i&&typeof n[0]=="string"&&Ce.call(n,"index")&&(u.index=n.index,u.input=n.input),u}function Gh(n){return typeof n.constructor=="function"&&!Fa(n)?Os(Go(n)):{}}function Wv(n,i,u){var h=n.constructor;switch(i){case br:return Pc(n);case Hr:case Lt:return new h(+n);case _r:return Sv(n,u);case De:case qr:case bi:case Wn:case hn:case or:case wr:case sa:case _i:return Ah(n,u);case Gt:return new h;case Ur:case $t:return new h(n);case ar:return kv(n);case Ht:return new h;case Fn:return Dv(n)}}function Bv(n,i){var u=i.length;if(!u)return n;var h=u-1;return i[h]=(u>1?"& ":"")+i[h],i=i.join(u>2?", ":" "),n.replace(Vl,`{
|
|
103
|
+
/* [wrapped with `+i+`] */
|
|
104
|
+
`)}function Hv(n){return Me(n)||ss(n)||!!(Qd&&n&&n[Qd])}function ni(n,i){var u=typeof n;return i=i??Ye,!!i&&(u=="number"||u!="symbol"&&_s.test(n))&&n>-1&&n%1==0&&n<i}function on(n,i,u){if(!mt(u))return!1;var h=typeof i;return(h=="number"?bn(u)&&ni(i,u.length):h=="string"&&i in u)?hr(u[i],n):!1}function Hc(n,i){if(Me(n))return!1;var u=typeof n;return u=="number"||u=="symbol"||u=="boolean"||n==null||An(n)?!0:vo.test(n)||!zl.test(n)||i!=null&&n in ae(i)}function jv(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}function jc(n){var i=hu(n),u=_[i];if(typeof u!="function"||!(i in Be.prototype))return!1;if(n===u)return!0;var h=Yc(u);return!!h&&n===h[0]}function Uv(n){return!!Kd&&Kd in n}var qv=sn?ri:of;function Fa(n){var i=n&&n.constructor,u=typeof i=="function"&&i.prototype||It;return n===u}function Kh(n){return n===n&&!mt(n)}function Xh(n,i){return function(u){return u==null?!1:u[n]===i&&(i!==r||n in ae(u))}}function zv(n){var i=bu(n,function(h){return u.size===E&&u.clear(),h}),u=i.cache;return i}function Vv(n,i){var u=n[1],h=i[1],v=u|h,x=v<(ne|H|d),T=h==d&&u==me||h==d&&u==Le&&n[7].length<=i[8]||h==(d|Le)&&i[7].length<=i[8]&&u==me;if(!(x||T))return n;h&ne&&(n[2]=i[2],v|=u&ne?0:pe);var I=i[3];if(I){var L=n[3];n[3]=L?Ih(L,I,i[4]):I,n[4]=L?En(n[3],P):i[4]}return I=i[5],I&&(L=n[5],n[5]=L?Rh(L,I,i[6]):I,n[6]=L?En(n[5],P):i[6]),I=i[7],I&&(n[7]=I),h&d&&(n[8]=n[8]==null?i[8]:Jt(n[8],i[8])),n[9]==null&&(n[9]=i[9]),n[0]=i[0],n[1]=v,n}function Gv(n){var i=[];if(n!=null)for(var u in ae(n))i.push(u);return i}function Kv(n){return qo.call(n)}function Zh(n,i,u){return i=Rt(i===r?n.length-1:i,0),function(){for(var h=arguments,v=-1,x=Rt(h.length-i,0),T=A(x);++v<x;)T[v]=h[i+v];v=-1;for(var I=A(i+1);++v<i;)I[v]=h[v];return I[i]=u(T),b(n,this,I)}}function Jh(n,i){return i.length<2?n:ns(n,zn(i,0,-1))}function Xv(n,i){for(var u=n.length,h=Jt(i.length,u),v=vn(n);h--;){var x=i[h];n[h]=ni(x,u)?v[x]:r}return n}function Uc(n,i){if(!(i==="constructor"&&typeof n[i]=="function")&&i!="__proto__")return n[i]}var Qh=tp(xh),Ya=fy||function(n,i){return pt.setTimeout(n,i)},qc=tp(bv);function ep(n,i,u){var h=i+"";return qc(n,Bv(h,Zv(Fv(h),u)))}function tp(n){var i=0,u=0;return function(){var h=gy(),v=xe-(h-u);if(u=h,v>0){if(++i>=Je)return arguments[0]}else i=0;return n.apply(r,arguments)}}function gu(n,i){var u=-1,h=n.length,v=h-1;for(i=i===r?h:i;++u<i;){var x=Tc(u,v),T=n[x];n[x]=n[u],n[u]=T}return n.length=i,n}var np=zv(function(n){var i=[];return n.charCodeAt(0)===46&&i.push(""),n.replace(bo,function(u,h,v,x){i.push(v?x.replace(Zl,"$1"):h||u)}),i});function Or(n){if(typeof n=="string"||An(n))return n;var i=n+"";return i=="0"&&1/n==-ze?"-0":i}function is(n){if(n!=null){try{return fr.call(n)}catch{}try{return n+""}catch{}}return""}function Zv(n,i){return C(zt,function(u){var h="_."+u[0];i&u[1]&&!Y(n,h)&&n.push(h)}),n.sort()}function rp(n){if(n instanceof Be)return n.clone();var i=new Un(n.__wrapped__,n.__chain__);return i.__actions__=vn(n.__actions__),i.__index__=n.__index__,i.__values__=n.__values__,i}function Jv(n,i,u){(u?on(n,i,u):i===r)?i=1:i=Rt(Oe(i),0);var h=n==null?0:n.length;if(!h||i<1)return[];for(var v=0,x=0,T=A(Zo(h/i));v<h;)T[x++]=zn(n,v,v+=i);return T}function Qv(n){for(var i=-1,u=n==null?0:n.length,h=0,v=[];++i<u;){var x=n[i];x&&(v[h++]=x)}return v}function eb(){var n=arguments.length;if(!n)return[];for(var i=A(n-1),u=arguments[0],h=n;h--;)i[h-1]=arguments[h];return Ee(Me(u)?vn(u):[u],Ut(i,1))}var tb=Ne(function(n,i){return xt(n)?Ra(n,Ut(i,1,xt,!0)):[]}),nb=Ne(function(n,i){var u=Vn(i);return xt(u)&&(u=r),xt(n)?Ra(n,Ut(i,1,xt,!0),we(u,2)):[]}),rb=Ne(function(n,i){var u=Vn(i);return xt(u)&&(u=r),xt(n)?Ra(n,Ut(i,1,xt,!0),r,u):[]});function ib(n,i,u){var h=n==null?0:n.length;return h?(i=u||i===r?1:Oe(i),zn(n,i<0?0:i,h)):[]}function sb(n,i,u){var h=n==null?0:n.length;return h?(i=u||i===r?1:Oe(i),i=h-i,zn(n,0,i<0?0:i)):[]}function ab(n,i){return n&&n.length?ou(n,we(i,3),!0,!0):[]}function ob(n,i){return n&&n.length?ou(n,we(i,3),!0):[]}function ub(n,i,u,h){var v=n==null?0:n.length;return v?(u&&typeof u!="number"&&on(n,i,u)&&(u=0,h=v),ev(n,i,u,h)):[]}function ip(n,i,u){var h=n==null?0:n.length;if(!h)return-1;var v=u==null?0:Oe(u);return v<0&&(v=Rt(h+v,0)),Fe(n,we(i,3),v)}function sp(n,i,u){var h=n==null?0:n.length;if(!h)return-1;var v=h-1;return u!==r&&(v=Oe(u),v=u<0?Rt(h+v,0):Jt(v,h-1)),Fe(n,we(i,3),v,!0)}function ap(n){var i=n==null?0:n.length;return i?Ut(n,1):[]}function lb(n){var i=n==null?0:n.length;return i?Ut(n,ze):[]}function cb(n,i){var u=n==null?0:n.length;return u?(i=i===r?1:Oe(i),Ut(n,i)):[]}function fb(n){for(var i=-1,u=n==null?0:n.length,h={};++i<u;){var v=n[i];h[v[0]]=v[1]}return h}function op(n){return n&&n.length?n[0]:r}function db(n,i,u){var h=n==null?0:n.length;if(!h)return-1;var v=u==null?0:Oe(u);return v<0&&(v=Rt(h+v,0)),tt(n,i,v)}function hb(n){var i=n==null?0:n.length;return i?zn(n,0,-1):[]}var pb=Ne(function(n){var i=ue(n,Ic);return i.length&&i[0]===n[0]?xc(i):[]}),gb=Ne(function(n){var i=Vn(n),u=ue(n,Ic);return i===Vn(u)?i=r:u.pop(),u.length&&u[0]===n[0]?xc(u,we(i,2)):[]}),mb=Ne(function(n){var i=Vn(n),u=ue(n,Ic);return i=typeof i=="function"?i:r,i&&u.pop(),u.length&&u[0]===n[0]?xc(u,r,i):[]});function yb(n,i){return n==null?"":hy.call(n,i)}function Vn(n){var i=n==null?0:n.length;return i?n[i-1]:r}function vb(n,i,u){var h=n==null?0:n.length;if(!h)return-1;var v=h;return u!==r&&(v=Oe(u),v=v<0?Rt(h+v,0):Jt(v,h-1)),i===i?Es(n,i,v):Fe(n,Cs,v,!0)}function bb(n,i){return n&&n.length?vh(n,Oe(i)):r}var _b=Ne(up);function up(n,i){return n&&n.length&&i&&i.length?Cc(n,i):n}function wb(n,i,u){return n&&n.length&&i&&i.length?Cc(n,i,we(u,2)):n}function xb(n,i,u){return n&&n.length&&i&&i.length?Cc(n,i,r,u):n}var Sb=ti(function(n,i){var u=n==null?0:n.length,h=vc(n,i);return wh(n,ue(i,function(v){return ni(v,u)?+v:v}).sort(Oh)),h});function kb(n,i){var u=[];if(!(n&&n.length))return u;var h=-1,v=[],x=n.length;for(i=we(i,3);++h<x;){var T=n[h];i(T,h,n)&&(u.push(T),v.push(h))}return wh(n,v),u}function zc(n){return n==null?n:yy.call(n)}function Db(n,i,u){var h=n==null?0:n.length;return h?(u&&typeof u!="number"&&on(n,i,u)?(i=0,u=h):(i=i==null?0:Oe(i),u=u===r?h:Oe(u)),zn(n,i,u)):[]}function Cb(n,i){return au(n,i)}function Tb(n,i,u){return Mc(n,i,we(u,2))}function Eb(n,i){var u=n==null?0:n.length;if(u){var h=au(n,i);if(h<u&&hr(n[h],i))return h}return-1}function Mb(n,i){return au(n,i,!0)}function Ab(n,i,u){return Mc(n,i,we(u,2),!0)}function Ob(n,i){var u=n==null?0:n.length;if(u){var h=au(n,i,!0)-1;if(hr(n[h],i))return h}return-1}function Ib(n){return n&&n.length?Sh(n):[]}function Rb(n,i){return n&&n.length?Sh(n,we(i,2)):[]}function Pb(n){var i=n==null?0:n.length;return i?zn(n,1,i):[]}function Nb(n,i,u){return n&&n.length?(i=u||i===r?1:Oe(i),zn(n,0,i<0?0:i)):[]}function Lb(n,i,u){var h=n==null?0:n.length;return h?(i=u||i===r?1:Oe(i),i=h-i,zn(n,i<0?0:i,h)):[]}function $b(n,i){return n&&n.length?ou(n,we(i,3),!1,!0):[]}function Fb(n,i){return n&&n.length?ou(n,we(i,3)):[]}var Yb=Ne(function(n){return Ii(Ut(n,1,xt,!0))}),Wb=Ne(function(n){var i=Vn(n);return xt(i)&&(i=r),Ii(Ut(n,1,xt,!0),we(i,2))}),Bb=Ne(function(n){var i=Vn(n);return i=typeof i=="function"?i:r,Ii(Ut(n,1,xt,!0),r,i)});function Hb(n){return n&&n.length?Ii(n):[]}function jb(n,i){return n&&n.length?Ii(n,we(i,2)):[]}function Ub(n,i){return i=typeof i=="function"?i:r,n&&n.length?Ii(n,r,i):[]}function Vc(n){if(!(n&&n.length))return[];var i=0;return n=z(n,function(u){if(xt(u))return i=Rt(u.length,i),!0}),Ki(i,function(u){return ue(n,Kr(u))})}function lp(n,i){if(!(n&&n.length))return[];var u=Vc(n);return i==null?u:ue(u,function(h){return b(i,r,h)})}var qb=Ne(function(n,i){return xt(n)?Ra(n,i):[]}),zb=Ne(function(n){return Oc(z(n,xt))}),Vb=Ne(function(n){var i=Vn(n);return xt(i)&&(i=r),Oc(z(n,xt),we(i,2))}),Gb=Ne(function(n){var i=Vn(n);return i=typeof i=="function"?i:r,Oc(z(n,xt),r,i)}),Kb=Ne(Vc);function Xb(n,i){return Th(n||[],i||[],Ia)}function Zb(n,i){return Th(n||[],i||[],La)}var Jb=Ne(function(n){var i=n.length,u=i>1?n[i-1]:r;return u=typeof u=="function"?(n.pop(),u):r,lp(n,u)});function cp(n){var i=_(n);return i.__chain__=!0,i}function Qb(n,i){return i(n),n}function mu(n,i){return i(n)}var e1=ti(function(n){var i=n.length,u=i?n[0]:0,h=this.__wrapped__,v=function(x){return vc(x,n)};return i>1||this.__actions__.length||!(h instanceof Be)||!ni(u)?this.thru(v):(h=h.slice(u,+u+(i?1:0)),h.__actions__.push({func:mu,args:[v],thisArg:r}),new Un(h,this.__chain__).thru(function(x){return i&&!x.length&&x.push(r),x}))});function t1(){return cp(this)}function n1(){return new Un(this.value(),this.__chain__)}function r1(){this.__values__===r&&(this.__values__=kp(this.value()));var n=this.__index__>=this.__values__.length,i=n?r:this.__values__[this.__index__++];return{done:n,value:i}}function i1(){return this}function s1(n){for(var i,u=this;u instanceof tu;){var h=rp(u);h.__index__=0,h.__values__=r,i?v.__wrapped__=h:i=h;var v=h;u=u.__wrapped__}return v.__wrapped__=n,i}function a1(){var n=this.__wrapped__;if(n instanceof Be){var i=n;return this.__actions__.length&&(i=new Be(this)),i=i.reverse(),i.__actions__.push({func:mu,args:[zc],thisArg:r}),new Un(i,this.__chain__)}return this.thru(zc)}function o1(){return Ch(this.__wrapped__,this.__actions__)}var u1=uu(function(n,i,u){Ce.call(n,u)?++n[u]:Qr(n,u,1)});function l1(n,i,u){var h=Me(n)?q:Qy;return u&&on(n,i,u)&&(i=r),h(n,we(i,3))}function c1(n,i){var u=Me(n)?z:lh;return u(n,we(i,3))}var f1=$h(ip),d1=$h(sp);function h1(n,i){return Ut(yu(n,i),1)}function p1(n,i){return Ut(yu(n,i),ze)}function g1(n,i,u){return u=u===r?1:Oe(u),Ut(yu(n,i),u)}function fp(n,i){var u=Me(n)?C:Oi;return u(n,we(i,3))}function dp(n,i){var u=Me(n)?N:uh;return u(n,we(i,3))}var m1=uu(function(n,i,u){Ce.call(n,u)?n[u].push(i):Qr(n,u,[i])});function y1(n,i,u,h){n=bn(n)?n:Ls(n),u=u&&!h?Oe(u):0;var v=n.length;return u<0&&(u=Rt(v+u,0)),xu(n)?u<=v&&n.indexOf(i,u)>-1:!!v&&tt(n,i,u)>-1}var v1=Ne(function(n,i,u){var h=-1,v=typeof i=="function",x=bn(n)?A(n.length):[];return Oi(n,function(T){x[++h]=v?b(i,T,u):Pa(T,i,u)}),x}),b1=uu(function(n,i,u){Qr(n,u,i)});function yu(n,i){var u=Me(n)?ue:gh;return u(n,we(i,3))}function _1(n,i,u,h){return n==null?[]:(Me(i)||(i=i==null?[]:[i]),u=h?r:u,Me(u)||(u=u==null?[]:[u]),bh(n,i,u))}var w1=uu(function(n,i,u){n[u?0:1].push(i)},function(){return[[],[]]});function x1(n,i,u){var h=Me(n)?Te:lr,v=arguments.length<3;return h(n,we(i,4),u,v,Oi)}function S1(n,i,u){var h=Me(n)?At:lr,v=arguments.length<3;return h(n,we(i,4),u,v,uh)}function k1(n,i){var u=Me(n)?z:lh;return u(n,_u(we(i,3)))}function D1(n){var i=Me(n)?ih:yv;return i(n)}function C1(n,i,u){(u?on(n,i,u):i===r)?i=1:i=Oe(i);var h=Me(n)?Gy:vv;return h(n,i)}function T1(n){var i=Me(n)?Ky:_v;return i(n)}function E1(n){if(n==null)return 0;if(bn(n))return xu(n)?Er(n):n.length;var i=Qt(n);return i==Gt||i==Ht?n.size:kc(n).length}function M1(n,i,u){var h=Me(n)?gt:wv;return u&&on(n,i,u)&&(i=r),h(n,we(i,3))}var A1=Ne(function(n,i){if(n==null)return[];var u=i.length;return u>1&&on(n,i[0],i[1])?i=[]:u>2&&on(i[0],i[1],i[2])&&(i=[i[0]]),bh(n,Ut(i,1),[])}),vu=cy||function(){return pt.Date.now()};function O1(n,i){if(typeof i!="function")throw new Pe(g);return n=Oe(n),function(){if(--n<1)return i.apply(this,arguments)}}function hp(n,i,u){return i=u?r:i,i=n&&i==null?n.length:i,ei(n,d,r,r,r,r,i)}function pp(n,i){var u;if(typeof i!="function")throw new Pe(g);return n=Oe(n),function(){return--n>0&&(u=i.apply(this,arguments)),n<=1&&(i=r),u}}var Gc=Ne(function(n,i,u){var h=ne;if(u.length){var v=En(u,Ps(Gc));h|=re}return ei(n,h,i,u,v)}),gp=Ne(function(n,i,u){var h=ne|H;if(u.length){var v=En(u,Ps(gp));h|=re}return ei(i,h,n,u,v)});function mp(n,i,u){i=u?r:i;var h=ei(n,me,r,r,r,r,r,i);return h.placeholder=mp.placeholder,h}function yp(n,i,u){i=u?r:i;var h=ei(n,ye,r,r,r,r,r,i);return h.placeholder=yp.placeholder,h}function vp(n,i,u){var h,v,x,T,I,L,X=0,Z=!1,Q=!1,se=!0;if(typeof n!="function")throw new Pe(g);i=Gn(i)||0,mt(u)&&(Z=!!u.leading,Q="maxWait"in u,x=Q?Rt(Gn(u.maxWait)||0,i):x,se="trailing"in u?!!u.trailing:se);function ge(St){var pr=h,si=v;return h=v=r,X=St,T=n.apply(si,pr),T}function Se(St){return X=St,I=Ya(We,i),Z?ge(St):T}function Re(St){var pr=St-L,si=St-X,$p=i-pr;return Q?Jt($p,x-si):$p}function ke(St){var pr=St-L,si=St-X;return L===r||pr>=i||pr<0||Q&&si>=x}function We(){var St=vu();if(ke(St))return je(St);I=Ya(We,Re(St))}function je(St){return I=r,se&&h?ge(St):(h=v=r,T)}function On(){I!==r&&Eh(I),X=0,h=L=v=I=r}function un(){return I===r?T:je(vu())}function In(){var St=vu(),pr=ke(St);if(h=arguments,v=this,L=St,pr){if(I===r)return Se(L);if(Q)return Eh(I),I=Ya(We,i),ge(L)}return I===r&&(I=Ya(We,i)),T}return In.cancel=On,In.flush=un,In}var I1=Ne(function(n,i){return oh(n,1,i)}),R1=Ne(function(n,i,u){return oh(n,Gn(i)||0,u)});function P1(n){return ei(n,le)}function bu(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new Pe(g);var u=function(){var h=arguments,v=i?i.apply(this,h):h[0],x=u.cache;if(x.has(v))return x.get(v);var T=n.apply(this,h);return u.cache=x.set(v,T)||x,T};return u.cache=new(bu.Cache||Jr),u}bu.Cache=Jr;function _u(n){if(typeof n!="function")throw new Pe(g);return function(){var i=arguments;switch(i.length){case 0:return!n.call(this);case 1:return!n.call(this,i[0]);case 2:return!n.call(this,i[0],i[1]);case 3:return!n.call(this,i[0],i[1],i[2])}return!n.apply(this,i)}}function N1(n){return pp(2,n)}var L1=xv(function(n,i){i=i.length==1&&Me(i[0])?ue(i[0],nn(we())):ue(Ut(i,1),nn(we()));var u=i.length;return Ne(function(h){for(var v=-1,x=Jt(h.length,u);++v<x;)h[v]=i[v].call(this,h[v]);return b(n,this,h)})}),Kc=Ne(function(n,i){var u=En(i,Ps(Kc));return ei(n,re,r,i,u)}),bp=Ne(function(n,i){var u=En(i,Ps(bp));return ei(n,ie,r,i,u)}),$1=ti(function(n,i){return ei(n,Le,r,r,r,i)});function F1(n,i){if(typeof n!="function")throw new Pe(g);return i=i===r?i:Oe(i),Ne(n,i)}function Y1(n,i){if(typeof n!="function")throw new Pe(g);return i=i==null?0:Rt(Oe(i),0),Ne(function(u){var h=u[i],v=Pi(u,0,i);return h&&Ee(v,h),b(n,this,v)})}function W1(n,i,u){var h=!0,v=!0;if(typeof n!="function")throw new Pe(g);return mt(u)&&(h="leading"in u?!!u.leading:h,v="trailing"in u?!!u.trailing:v),vp(n,i,{leading:h,maxWait:i,trailing:v})}function B1(n){return hp(n,1)}function H1(n,i){return Kc(Rc(i),n)}function j1(){if(!arguments.length)return[];var n=arguments[0];return Me(n)?n:[n]}function U1(n){return qn(n,G)}function q1(n,i){return i=typeof i=="function"?i:r,qn(n,G,i)}function z1(n){return qn(n,W|G)}function V1(n,i){return i=typeof i=="function"?i:r,qn(n,W|G,i)}function G1(n,i){return i==null||ah(n,i,Wt(i))}function hr(n,i){return n===i||n!==n&&i!==i}var K1=du(wc),X1=du(function(n,i){return n>=i}),ss=dh(function(){return arguments}())?dh:function(n){return yt(n)&&Ce.call(n,"callee")&&!Jd.call(n,"callee")},Me=A.isArray,Z1=s?nn(s):sv;function bn(n){return n!=null&&wu(n.length)&&!ri(n)}function xt(n){return yt(n)&&bn(n)}function J1(n){return n===!0||n===!1||yt(n)&&an(n)==Hr}var Ni=dy||of,Q1=l?nn(l):av;function e_(n){return yt(n)&&n.nodeType===1&&!Wa(n)}function t_(n){if(n==null)return!0;if(bn(n)&&(Me(n)||typeof n=="string"||typeof n.splice=="function"||Ni(n)||Ns(n)||ss(n)))return!n.length;var i=Qt(n);if(i==Gt||i==Ht)return!n.size;if(Fa(n))return!kc(n).length;for(var u in n)if(Ce.call(n,u))return!1;return!0}function n_(n,i){return Na(n,i)}function r_(n,i,u){u=typeof u=="function"?u:r;var h=u?u(n,i):r;return h===r?Na(n,i,r,u):!!h}function Xc(n){if(!yt(n))return!1;var i=an(n);return i==vi||i==fn||typeof n.message=="string"&&typeof n.name=="string"&&!Wa(n)}function i_(n){return typeof n=="number"&&eh(n)}function ri(n){if(!mt(n))return!1;var i=an(n);return i==kn||i==jr||i==ji||i==ia}function _p(n){return typeof n=="number"&&n==Oe(n)}function wu(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=Ye}function mt(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}function yt(n){return n!=null&&typeof n=="object"}var wp=f?nn(f):uv;function s_(n,i){return n===i||Sc(n,i,Wc(i))}function a_(n,i,u){return u=typeof u=="function"?u:r,Sc(n,i,Wc(i),u)}function o_(n){return xp(n)&&n!=+n}function u_(n){if(qv(n))throw new K(c);return hh(n)}function l_(n){return n===null}function c_(n){return n==null}function xp(n){return typeof n=="number"||yt(n)&&an(n)==Ur}function Wa(n){if(!yt(n)||an(n)!=Kt)return!1;var i=Go(n);if(i===null)return!0;var u=Ce.call(i,"constructor")&&i.constructor;return typeof u=="function"&&u instanceof u&&fr.call(u)==ay}var Zc=p?nn(p):lv;function f_(n){return _p(n)&&n>=-Ye&&n<=Ye}var Sp=m?nn(m):cv;function xu(n){return typeof n=="string"||!Me(n)&&yt(n)&&an(n)==$t}function An(n){return typeof n=="symbol"||yt(n)&&an(n)==Fn}var Ns=y?nn(y):fv;function d_(n){return n===r}function h_(n){return yt(n)&&Qt(n)==ce}function p_(n){return yt(n)&&an(n)==Ft}var g_=du(Dc),m_=du(function(n,i){return n<=i});function kp(n){if(!n)return[];if(bn(n))return xu(n)?rn(n):vn(n);if(Ta&&n[Ta])return Tr(n[Ta]());var i=Qt(n),u=i==Gt?Ts:i==Ht?Xr:Ls;return u(n)}function ii(n){if(!n)return n===0?n:0;if(n=Gn(n),n===ze||n===-ze){var i=n<0?-1:1;return i*ft}return n===n?n:0}function Oe(n){var i=ii(n),u=i%1;return i===i?u?i-u:i:0}function Dp(n){return n?ts(Oe(n),0,Nt):0}function Gn(n){if(typeof n=="number")return n;if(An(n))return Mt;if(mt(n)){var i=typeof n.valueOf=="function"?n.valueOf():n;n=mt(i)?i+"":i}if(typeof n!="string")return n===0?n:+n;n=jn(n);var u=So.test(n);return u||oa.test(n)?lc(n.slice(2),u?2:8):Si.test(n)?Mt:+n}function Cp(n){return Ar(n,_n(n))}function y_(n){return n?ts(Oe(n),-Ye,Ye):n===0?n:0}function et(n){return n==null?"":Mn(n)}var v_=Is(function(n,i){if(Fa(i)||bn(i)){Ar(i,Wt(i),n);return}for(var u in i)Ce.call(i,u)&&Ia(n,u,i[u])}),Tp=Is(function(n,i){Ar(i,_n(i),n)}),Su=Is(function(n,i,u,h){Ar(i,_n(i),n,h)}),b_=Is(function(n,i,u,h){Ar(i,Wt(i),n,h)}),__=ti(vc);function w_(n,i){var u=Os(n);return i==null?u:sh(u,i)}var x_=Ne(function(n,i){n=ae(n);var u=-1,h=i.length,v=h>2?i[2]:r;for(v&&on(i[0],i[1],v)&&(h=1);++u<h;)for(var x=i[u],T=_n(x),I=-1,L=T.length;++I<L;){var X=T[I],Z=n[X];(Z===r||hr(Z,It[X])&&!Ce.call(n,X))&&(n[X]=x[X])}return n}),S_=Ne(function(n){return n.push(r,Uh),b(Ep,r,n)});function k_(n,i){return Dr(n,we(i,3),Mr)}function D_(n,i){return Dr(n,we(i,3),_c)}function C_(n,i){return n==null?n:bc(n,we(i,3),_n)}function T_(n,i){return n==null?n:ch(n,we(i,3),_n)}function E_(n,i){return n&&Mr(n,we(i,3))}function M_(n,i){return n&&_c(n,we(i,3))}function A_(n){return n==null?[]:iu(n,Wt(n))}function O_(n){return n==null?[]:iu(n,_n(n))}function Jc(n,i,u){var h=n==null?r:ns(n,i);return h===r?u:h}function I_(n,i){return n!=null&&Vh(n,i,tv)}function Qc(n,i){return n!=null&&Vh(n,i,nv)}var R_=Yh(function(n,i,u){i!=null&&typeof i.toString!="function"&&(i=qo.call(i)),n[i]=u},tf(wn)),P_=Yh(function(n,i,u){i!=null&&typeof i.toString!="function"&&(i=qo.call(i)),Ce.call(n,i)?n[i].push(u):n[i]=[u]},we),N_=Ne(Pa);function Wt(n){return bn(n)?rh(n):kc(n)}function _n(n){return bn(n)?rh(n,!0):dv(n)}function L_(n,i){var u={};return i=we(i,3),Mr(n,function(h,v,x){Qr(u,i(h,v,x),h)}),u}function $_(n,i){var u={};return i=we(i,3),Mr(n,function(h,v,x){Qr(u,v,i(h,v,x))}),u}var F_=Is(function(n,i,u){su(n,i,u)}),Ep=Is(function(n,i,u,h){su(n,i,u,h)}),Y_=ti(function(n,i){var u={};if(n==null)return u;var h=!1;i=ue(i,function(x){return x=Ri(x,n),h||(h=x.length>1),x}),Ar(n,Fc(n),u),h&&(u=qn(u,W|j|G,Rv));for(var v=i.length;v--;)Ac(u,i[v]);return u});function W_(n,i){return Mp(n,_u(we(i)))}var B_=ti(function(n,i){return n==null?{}:pv(n,i)});function Mp(n,i){if(n==null)return{};var u=ue(Fc(n),function(h){return[h]});return i=we(i),_h(n,u,function(h,v){return i(h,v[0])})}function H_(n,i,u){i=Ri(i,n);var h=-1,v=i.length;for(v||(v=1,n=r);++h<v;){var x=n==null?r:n[Or(i[h])];x===r&&(h=v,x=u),n=ri(x)?x.call(n):x}return n}function j_(n,i,u){return n==null?n:La(n,i,u)}function U_(n,i,u,h){return h=typeof h=="function"?h:r,n==null?n:La(n,i,u,h)}var Ap=Hh(Wt),Op=Hh(_n);function q_(n,i,u){var h=Me(n),v=h||Ni(n)||Ns(n);if(i=we(i,4),u==null){var x=n&&n.constructor;v?u=h?new x:[]:mt(n)?u=ri(x)?Os(Go(n)):{}:u={}}return(v?C:Mr)(n,function(T,I,L){return i(u,T,I,L)}),u}function z_(n,i){return n==null?!0:Ac(n,i)}function V_(n,i,u){return n==null?n:Dh(n,i,Rc(u))}function G_(n,i,u,h){return h=typeof h=="function"?h:r,n==null?n:Dh(n,i,Rc(u),h)}function Ls(n){return n==null?[]:Sa(n,Wt(n))}function K_(n){return n==null?[]:Sa(n,_n(n))}function X_(n,i,u){return u===r&&(u=i,i=r),u!==r&&(u=Gn(u),u=u===u?u:0),i!==r&&(i=Gn(i),i=i===i?i:0),ts(Gn(n),i,u)}function Z_(n,i,u){return i=ii(i),u===r?(u=i,i=0):u=ii(u),n=Gn(n),rv(n,i,u)}function J_(n,i,u){if(u&&typeof u!="boolean"&&on(n,i,u)&&(i=u=r),u===r&&(typeof i=="boolean"?(u=i,i=r):typeof n=="boolean"&&(u=n,n=r)),n===r&&i===r?(n=0,i=1):(n=ii(n),i===r?(i=n,n=0):i=ii(i)),n>i){var h=n;n=i,i=h}if(u||n%1||i%1){var v=th();return Jt(n+v*(i-n+wa("1e-"+((v+"").length-1))),i)}return Tc(n,i)}var Q_=Rs(function(n,i,u){return i=i.toLowerCase(),n+(u?Ip(i):i)});function Ip(n){return ef(et(n).toLowerCase())}function Rp(n){return n=et(n),n&&n.replace(ko,Ei).replace(rc,"")}function ew(n,i,u){n=et(n),i=Mn(i);var h=n.length;u=u===r?h:ts(Oe(u),0,h);var v=u;return u-=i.length,u>=0&&n.slice(u,v)==i}function tw(n){return n=et(n),n&&yo.test(n)?n.replace(wi,fc):n}function nw(n){return n=et(n),n&&xi.test(n)?n.replace(xr,"\\$&"):n}var rw=Rs(function(n,i,u){return n+(u?"-":"")+i.toLowerCase()}),iw=Rs(function(n,i,u){return n+(u?" ":"")+i.toLowerCase()}),sw=Lh("toLowerCase");function aw(n,i,u){n=et(n),i=Oe(i);var h=i?Er(n):0;if(!i||h>=i)return n;var v=(i-h)/2;return fu(Jo(v),u)+n+fu(Zo(v),u)}function ow(n,i,u){n=et(n),i=Oe(i);var h=i?Er(n):0;return i&&h<i?n+fu(i-h,u):n}function uw(n,i,u){n=et(n),i=Oe(i);var h=i?Er(n):0;return i&&h<i?fu(i-h,u)+n:n}function lw(n,i,u){return u||i==null?i=0:i&&(i=+i),my(et(n).replace(qi,""),i||0)}function cw(n,i,u){return(u?on(n,i,u):i===r)?i=1:i=Oe(i),Ec(et(n),i)}function fw(){var n=arguments,i=et(n[0]);return n.length<3?i:i.replace(n[1],n[2])}var dw=Rs(function(n,i,u){return n+(u?"_":"")+i.toLowerCase()});function hw(n,i,u){return u&&typeof u!="number"&&on(n,i,u)&&(i=u=r),u=u===r?Nt:u>>>0,u?(n=et(n),n&&(typeof i=="string"||i!=null&&!Zc(i))&&(i=Mn(i),!i&&yn(n))?Pi(rn(n),0,u):n.split(i,u)):[]}var pw=Rs(function(n,i,u){return n+(u?" ":"")+ef(i)});function gw(n,i,u){return n=et(n),u=u==null?0:ts(Oe(u),0,n.length),i=Mn(i),n.slice(u,u+i.length)==i}function mw(n,i,u){var h=_.templateSettings;u&&on(n,i,u)&&(i=r),n=et(n),i=Su({},i,h,jh);var v=Su({},i.imports,h.imports,jh),x=Wt(v),T=Sa(v,x),I,L,X=0,Z=i.interpolate||ws,Q="__p += '",se=Ae((i.escape||ws).source+"|"+Z.source+"|"+(Z===vs?wo:ws).source+"|"+(i.evaluate||ws).source+"|$","g"),ge="//# sourceURL="+(Ce.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++uc+"]")+`
|
|
105
|
+
`;n.replace(se,function(ke,We,je,On,un,In){return je||(je=On),Q+=n.slice(X,In).replace(zi,dc),We&&(I=!0,Q+=`' +
|
|
106
|
+
__e(`+We+`) +
|
|
107
|
+
'`),un&&(L=!0,Q+=`';
|
|
108
|
+
`+un+`;
|
|
109
|
+
__p += '`),je&&(Q+=`' +
|
|
110
|
+
((__t = (`+je+`)) == null ? '' : __t) +
|
|
111
|
+
'`),X=In+ke.length,ke}),Q+=`';
|
|
112
|
+
`;var Se=Ce.call(i,"variable")&&i.variable;if(!Se)Q=`with (obj) {
|
|
113
|
+
`+Q+`
|
|
114
|
+
}
|
|
115
|
+
`;else if(Xl.test(Se))throw new K(w);Q=(L?Q.replace(po,""):Q).replace(go,"$1").replace(ql,"$1;"),Q="function("+(Se||"obj")+`) {
|
|
116
|
+
`+(Se?"":`obj || (obj = {});
|
|
117
|
+
`)+"var __t, __p = ''"+(I?", __e = _.escape":"")+(L?`, __j = Array.prototype.join;
|
|
118
|
+
function print() { __p += __j.call(arguments, '') }
|
|
119
|
+
`:`;
|
|
120
|
+
`)+Q+`return __p
|
|
121
|
+
}`;var Re=Np(function(){return fe(x,ge+"return "+Q).apply(r,T)});if(Re.source=Q,Xc(Re))throw Re;return Re}function yw(n){return et(n).toLowerCase()}function vw(n){return et(n).toUpperCase()}function bw(n,i,u){if(n=et(n),n&&(u||i===r))return jn(n);if(!n||!(i=Mn(i)))return n;var h=rn(n),v=rn(i),x=Ve(h,v),T=Zi(h,v)+1;return Pi(h,x,T).join("")}function _w(n,i,u){if(n=et(n),n&&(u||i===r))return n.slice(0,jo(n)+1);if(!n||!(i=Mn(i)))return n;var h=rn(n),v=Zi(h,rn(i))+1;return Pi(h,0,v).join("")}function ww(n,i,u){if(n=et(n),n&&(u||i===r))return n.replace(qi,"");if(!n||!(i=Mn(i)))return n;var h=rn(n),v=Ve(h,rn(i));return Pi(h,v).join("")}function xw(n,i){var u=at,h=Ue;if(mt(i)){var v="separator"in i?i.separator:v;u="length"in i?Oe(i.length):u,h="omission"in i?Mn(i.omission):h}n=et(n);var x=n.length;if(yn(n)){var T=rn(n);x=T.length}if(u>=x)return n;var I=u-Er(h);if(I<1)return h;var L=T?Pi(T,0,I).join(""):n.slice(0,I);if(v===r)return L+h;if(T&&(I+=L.length-I),Zc(v)){if(n.slice(I).search(v)){var X,Z=L;for(v.global||(v=Ae(v.source,et(xo.exec(v))+"g")),v.lastIndex=0;X=v.exec(Z);)var Q=X.index;L=L.slice(0,Q===r?I:Q)}}else if(n.indexOf(Mn(v),I)!=I){var se=L.lastIndexOf(v);se>-1&&(L=L.slice(0,se))}return L+h}function Sw(n){return n=et(n),n&&mo.test(n)?n.replace(zr,Ca):n}var kw=Rs(function(n,i,u){return n+(u?" ":"")+i.toUpperCase()}),ef=Lh("toUpperCase");function Pp(n,i,u){return n=et(n),i=u?r:i,i===r?ka(n)?R(n):$e(n):n.match(i)||[]}var Np=Ne(function(n,i){try{return b(n,r,i)}catch(u){return Xc(u)?u:new K(u)}}),Dw=ti(function(n,i){return C(i,function(u){u=Or(u),Qr(n,u,Gc(n[u],n))}),n});function Cw(n){var i=n==null?0:n.length,u=we();return n=i?ue(n,function(h){if(typeof h[1]!="function")throw new Pe(g);return[u(h[0]),h[1]]}):[],Ne(function(h){for(var v=-1;++v<i;){var x=n[v];if(b(x[0],this,h))return b(x[1],this,h)}})}function Tw(n){return Jy(qn(n,W))}function tf(n){return function(){return n}}function Ew(n,i){return n==null||n!==n?i:n}var Mw=Fh(),Aw=Fh(!0);function wn(n){return n}function nf(n){return ph(typeof n=="function"?n:qn(n,W))}function Ow(n){return mh(qn(n,W))}function Iw(n,i){return yh(n,qn(i,W))}var Rw=Ne(function(n,i){return function(u){return Pa(u,n,i)}}),Pw=Ne(function(n,i){return function(u){return Pa(n,u,i)}});function rf(n,i,u){var h=Wt(i),v=iu(i,h);u==null&&!(mt(i)&&(v.length||!h.length))&&(u=i,i=n,n=this,v=iu(i,Wt(i)));var x=!(mt(u)&&"chain"in u)||!!u.chain,T=ri(n);return C(v,function(I){var L=i[I];n[I]=L,T&&(n.prototype[I]=function(){var X=this.__chain__;if(x||X){var Z=n(this.__wrapped__),Q=Z.__actions__=vn(this.__actions__);return Q.push({func:L,args:arguments,thisArg:n}),Z.__chain__=X,Z}return L.apply(n,Ee([this.value()],arguments))})}),n}function Nw(){return pt._===this&&(pt._=oy),this}function sf(){}function Lw(n){return n=Oe(n),Ne(function(i){return vh(i,n)})}var $w=Nc(ue),Fw=Nc(q),Yw=Nc(gt);function Lp(n){return Hc(n)?Kr(Or(n)):gv(n)}function Ww(n){return function(i){return n==null?r:ns(n,i)}}var Bw=Wh(),Hw=Wh(!0);function af(){return[]}function of(){return!1}function jw(){return{}}function Uw(){return""}function qw(){return!0}function zw(n,i){if(n=Oe(n),n<1||n>Ye)return[];var u=Nt,h=Jt(n,Nt);i=we(i),n-=Nt;for(var v=Ki(h,i);++u<n;)i(u);return v}function Vw(n){return Me(n)?ue(n,Or):An(n)?[n]:vn(np(et(n)))}function Gw(n){var i=++sy;return et(n)+i}var Kw=cu(function(n,i){return n+i},0),Xw=Lc("ceil"),Zw=cu(function(n,i){return n/i},1),Jw=Lc("floor");function Qw(n){return n&&n.length?ru(n,wn,wc):r}function ex(n,i){return n&&n.length?ru(n,we(i,2),wc):r}function tx(n){return Cn(n,wn)}function nx(n,i){return Cn(n,we(i,2))}function rx(n){return n&&n.length?ru(n,wn,Dc):r}function ix(n,i){return n&&n.length?ru(n,we(i,2),Dc):r}var sx=cu(function(n,i){return n*i},1),ax=Lc("round"),ox=cu(function(n,i){return n-i},0);function ux(n){return n&&n.length?Zt(n,wn):0}function lx(n,i){return n&&n.length?Zt(n,we(i,2)):0}return _.after=O1,_.ary=hp,_.assign=v_,_.assignIn=Tp,_.assignInWith=Su,_.assignWith=b_,_.at=__,_.before=pp,_.bind=Gc,_.bindAll=Dw,_.bindKey=gp,_.castArray=j1,_.chain=cp,_.chunk=Jv,_.compact=Qv,_.concat=eb,_.cond=Cw,_.conforms=Tw,_.constant=tf,_.countBy=u1,_.create=w_,_.curry=mp,_.curryRight=yp,_.debounce=vp,_.defaults=x_,_.defaultsDeep=S_,_.defer=I1,_.delay=R1,_.difference=tb,_.differenceBy=nb,_.differenceWith=rb,_.drop=ib,_.dropRight=sb,_.dropRightWhile=ab,_.dropWhile=ob,_.fill=ub,_.filter=c1,_.flatMap=h1,_.flatMapDeep=p1,_.flatMapDepth=g1,_.flatten=ap,_.flattenDeep=lb,_.flattenDepth=cb,_.flip=P1,_.flow=Mw,_.flowRight=Aw,_.fromPairs=fb,_.functions=A_,_.functionsIn=O_,_.groupBy=m1,_.initial=hb,_.intersection=pb,_.intersectionBy=gb,_.intersectionWith=mb,_.invert=R_,_.invertBy=P_,_.invokeMap=v1,_.iteratee=nf,_.keyBy=b1,_.keys=Wt,_.keysIn=_n,_.map=yu,_.mapKeys=L_,_.mapValues=$_,_.matches=Ow,_.matchesProperty=Iw,_.memoize=bu,_.merge=F_,_.mergeWith=Ep,_.method=Rw,_.methodOf=Pw,_.mixin=rf,_.negate=_u,_.nthArg=Lw,_.omit=Y_,_.omitBy=W_,_.once=N1,_.orderBy=_1,_.over=$w,_.overArgs=L1,_.overEvery=Fw,_.overSome=Yw,_.partial=Kc,_.partialRight=bp,_.partition=w1,_.pick=B_,_.pickBy=Mp,_.property=Lp,_.propertyOf=Ww,_.pull=_b,_.pullAll=up,_.pullAllBy=wb,_.pullAllWith=xb,_.pullAt=Sb,_.range=Bw,_.rangeRight=Hw,_.rearg=$1,_.reject=k1,_.remove=kb,_.rest=F1,_.reverse=zc,_.sampleSize=C1,_.set=j_,_.setWith=U_,_.shuffle=T1,_.slice=Db,_.sortBy=A1,_.sortedUniq=Ib,_.sortedUniqBy=Rb,_.split=hw,_.spread=Y1,_.tail=Pb,_.take=Nb,_.takeRight=Lb,_.takeRightWhile=$b,_.takeWhile=Fb,_.tap=Qb,_.throttle=W1,_.thru=mu,_.toArray=kp,_.toPairs=Ap,_.toPairsIn=Op,_.toPath=Vw,_.toPlainObject=Cp,_.transform=q_,_.unary=B1,_.union=Yb,_.unionBy=Wb,_.unionWith=Bb,_.uniq=Hb,_.uniqBy=jb,_.uniqWith=Ub,_.unset=z_,_.unzip=Vc,_.unzipWith=lp,_.update=V_,_.updateWith=G_,_.values=Ls,_.valuesIn=K_,_.without=qb,_.words=Pp,_.wrap=H1,_.xor=zb,_.xorBy=Vb,_.xorWith=Gb,_.zip=Kb,_.zipObject=Xb,_.zipObjectDeep=Zb,_.zipWith=Jb,_.entries=Ap,_.entriesIn=Op,_.extend=Tp,_.extendWith=Su,rf(_,_),_.add=Kw,_.attempt=Np,_.camelCase=Q_,_.capitalize=Ip,_.ceil=Xw,_.clamp=X_,_.clone=U1,_.cloneDeep=z1,_.cloneDeepWith=V1,_.cloneWith=q1,_.conformsTo=G1,_.deburr=Rp,_.defaultTo=Ew,_.divide=Zw,_.endsWith=ew,_.eq=hr,_.escape=tw,_.escapeRegExp=nw,_.every=l1,_.find=f1,_.findIndex=ip,_.findKey=k_,_.findLast=d1,_.findLastIndex=sp,_.findLastKey=D_,_.floor=Jw,_.forEach=fp,_.forEachRight=dp,_.forIn=C_,_.forInRight=T_,_.forOwn=E_,_.forOwnRight=M_,_.get=Jc,_.gt=K1,_.gte=X1,_.has=I_,_.hasIn=Qc,_.head=op,_.identity=wn,_.includes=y1,_.indexOf=db,_.inRange=Z_,_.invoke=N_,_.isArguments=ss,_.isArray=Me,_.isArrayBuffer=Z1,_.isArrayLike=bn,_.isArrayLikeObject=xt,_.isBoolean=J1,_.isBuffer=Ni,_.isDate=Q1,_.isElement=e_,_.isEmpty=t_,_.isEqual=n_,_.isEqualWith=r_,_.isError=Xc,_.isFinite=i_,_.isFunction=ri,_.isInteger=_p,_.isLength=wu,_.isMap=wp,_.isMatch=s_,_.isMatchWith=a_,_.isNaN=o_,_.isNative=u_,_.isNil=c_,_.isNull=l_,_.isNumber=xp,_.isObject=mt,_.isObjectLike=yt,_.isPlainObject=Wa,_.isRegExp=Zc,_.isSafeInteger=f_,_.isSet=Sp,_.isString=xu,_.isSymbol=An,_.isTypedArray=Ns,_.isUndefined=d_,_.isWeakMap=h_,_.isWeakSet=p_,_.join=yb,_.kebabCase=rw,_.last=Vn,_.lastIndexOf=vb,_.lowerCase=iw,_.lowerFirst=sw,_.lt=g_,_.lte=m_,_.max=Qw,_.maxBy=ex,_.mean=tx,_.meanBy=nx,_.min=rx,_.minBy=ix,_.stubArray=af,_.stubFalse=of,_.stubObject=jw,_.stubString=Uw,_.stubTrue=qw,_.multiply=sx,_.nth=bb,_.noConflict=Nw,_.noop=sf,_.now=vu,_.pad=aw,_.padEnd=ow,_.padStart=uw,_.parseInt=lw,_.random=J_,_.reduce=x1,_.reduceRight=S1,_.repeat=cw,_.replace=fw,_.result=H_,_.round=ax,_.runInContext=S,_.sample=D1,_.size=E1,_.snakeCase=dw,_.some=M1,_.sortedIndex=Cb,_.sortedIndexBy=Tb,_.sortedIndexOf=Eb,_.sortedLastIndex=Mb,_.sortedLastIndexBy=Ab,_.sortedLastIndexOf=Ob,_.startCase=pw,_.startsWith=gw,_.subtract=ox,_.sum=ux,_.sumBy=lx,_.template=mw,_.times=zw,_.toFinite=ii,_.toInteger=Oe,_.toLength=Dp,_.toLower=yw,_.toNumber=Gn,_.toSafeInteger=y_,_.toString=et,_.toUpper=vw,_.trim=bw,_.trimEnd=_w,_.trimStart=ww,_.truncate=xw,_.unescape=Sw,_.uniqueId=Gw,_.upperCase=kw,_.upperFirst=ef,_.each=fp,_.eachRight=dp,_.first=op,rf(_,function(){var n={};return Mr(_,function(i,u){Ce.call(_.prototype,u)||(n[u]=i)}),n}(),{chain:!1}),_.VERSION=a,C(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){_[n].placeholder=_}),C(["drop","take"],function(n,i){Be.prototype[n]=function(u){u=u===r?1:Rt(Oe(u),0);var h=this.__filtered__&&!i?new Be(this):this.clone();return h.__filtered__?h.__takeCount__=Jt(u,h.__takeCount__):h.__views__.push({size:Jt(u,Nt),type:n+(h.__dir__<0?"Right":"")}),h},Be.prototype[n+"Right"]=function(u){return this.reverse()[n](u).reverse()}}),C(["filter","map","takeWhile"],function(n,i){var u=i+1,h=u==ot||u==Et;Be.prototype[n]=function(v){var x=this.clone();return x.__iteratees__.push({iteratee:we(v,3),type:u}),x.__filtered__=x.__filtered__||h,x}}),C(["head","last"],function(n,i){var u="take"+(i?"Right":"");Be.prototype[n]=function(){return this[u](1).value()[0]}}),C(["initial","tail"],function(n,i){var u="drop"+(i?"":"Right");Be.prototype[n]=function(){return this.__filtered__?new Be(this):this[u](1)}}),Be.prototype.compact=function(){return this.filter(wn)},Be.prototype.find=function(n){return this.filter(n).head()},Be.prototype.findLast=function(n){return this.reverse().find(n)},Be.prototype.invokeMap=Ne(function(n,i){return typeof n=="function"?new Be(this):this.map(function(u){return Pa(u,n,i)})}),Be.prototype.reject=function(n){return this.filter(_u(we(n)))},Be.prototype.slice=function(n,i){n=Oe(n);var u=this;return u.__filtered__&&(n>0||i<0)?new Be(u):(n<0?u=u.takeRight(-n):n&&(u=u.drop(n)),i!==r&&(i=Oe(i),u=i<0?u.dropRight(-i):u.take(i-n)),u)},Be.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Be.prototype.toArray=function(){return this.take(Nt)},Mr(Be.prototype,function(n,i){var u=/^(?:filter|find|map|reject)|While$/.test(i),h=/^(?:head|last)$/.test(i),v=_[h?"take"+(i=="last"?"Right":""):i],x=h||/^find/.test(i);v&&(_.prototype[i]=function(){var T=this.__wrapped__,I=h?[1]:arguments,L=T instanceof Be,X=I[0],Z=L||Me(T),Q=function(We){var je=v.apply(_,Ee([We],I));return h&&se?je[0]:je};Z&&u&&typeof X=="function"&&X.length!=1&&(L=Z=!1);var se=this.__chain__,ge=!!this.__actions__.length,Se=x&&!se,Re=L&&!ge;if(!x&&Z){T=Re?T:new Be(this);var ke=n.apply(T,I);return ke.__actions__.push({func:mu,args:[Q],thisArg:r}),new Un(ke,se)}return Se&&Re?n.apply(this,I):(ke=this.thru(Q),Se?h?ke.value()[0]:ke.value():ke)})}),C(["pop","push","shift","sort","splice","unshift"],function(n){var i=Ot[n],u=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",h=/^(?:pop|shift)$/.test(n);_.prototype[n]=function(){var v=arguments;if(h&&!this.__chain__){var x=this.value();return i.apply(Me(x)?x:[],v)}return this[u](function(T){return i.apply(Me(T)?T:[],v)})}}),Mr(Be.prototype,function(n,i){var u=_[i];if(u){var h=u.name+"";Ce.call(As,h)||(As[h]=[]),As[h].push({name:i,func:u})}}),As[lu(r,H).name]=[{name:"wrapper",func:r}],Be.prototype.clone=Sy,Be.prototype.reverse=ky,Be.prototype.value=Dy,_.prototype.at=e1,_.prototype.chain=t1,_.prototype.commit=n1,_.prototype.next=r1,_.prototype.plant=s1,_.prototype.reverse=a1,_.prototype.toJSON=_.prototype.valueOf=_.prototype.value=o1,_.prototype.first=_.prototype.head,Ta&&(_.prototype[Ta]=i1),_},B=F();ur?((ur.exports=B)._=B,Ds._=B):pt._=B}).call(J.commonjsGlobal)})(Wu,Wu.exports);Wu.exports;function oT(e){var t=e.lastRenderedStartIndex,r=e.lastRenderedStopIndex,a=e.startIndex,o=e.stopIndex;return!(a>r||o<t)}function uT(e){for(var t=e.isItemLoaded,r=e.itemCount,a=e.minimumBatchSize,o=e.startIndex,c=e.stopIndex,g=[],w=null,k=null,E=o;E<=c;E++){var P=t(E);P?k!==null&&(g.push(w,k),w=k=null):(k=E,w===null&&(w=E))}if(k!==null){for(var W=Math.min(Math.max(k,w+a-1),r-1),j=k+1;j<=W&&!t(j);j++)k=j;g.push(w,k)}if(g.length)for(;g[1]-g[0]+1<a&&g[0]>0;){var G=g[0]-1;if(!t(G))g[0]=G;else break}return g}var lT=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},cT=function(){function e(t,r){for(var a=0;a<r.length;a++){var o=r[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,r,a){return r&&e(t.prototype,r),a&&e(t,a),t}}(),fT=function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},hg=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e};(function(e){fT(t,e);function t(){var r,a,o,c;lT(this,t);for(var g=arguments.length,w=Array(g),k=0;k<g;k++)w[k]=arguments[k];return c=(a=(o=hg(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(w))),o),o._lastRenderedStartIndex=-1,o._lastRenderedStopIndex=-1,o._memoizedUnloadedRanges=[],o._onItemsRendered=function(E){var P=E.visibleStartIndex,W=E.visibleStopIndex;o._lastRenderedStartIndex=P,o._lastRenderedStopIndex=W,o._ensureRowsLoaded(P,W)},o._setRef=function(E){o._listRef=E},a),hg(o,c)}return cT(t,[{key:"resetloadMoreItemsCache",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],a&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var a=this.props.children;return a({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(a,o){var c=this.props,g=c.isItemLoaded,w=c.itemCount,k=c.minimumBatchSize,E=k===void 0?10:k,P=c.threshold,W=P===void 0?15:P,j=uT({isItemLoaded:g,itemCount:w,minimumBatchSize:E,startIndex:Math.max(0,a-W),stopIndex:Math.min(w-1,o+W)});(this._memoizedUnloadedRanges.length!==j.length||this._memoizedUnloadedRanges.some(function(G,U){return j[U]!==G}))&&(this._memoizedUnloadedRanges=j,this._loadUnloadedRanges(j))}},{key:"_loadUnloadedRanges",value:function(a){for(var o=this,c=this.props.loadMoreItems||this.props.loadMoreRows,g=function(E){var P=a[E],W=a[E+1],j=c(P,W);j!=null&&j.then(function(){if(oT({lastRenderedStartIndex:o._lastRenderedStartIndex,lastRenderedStopIndex:o._lastRenderedStopIndex,startIndex:P,stopIndex:W})){if(o._listRef==null)return;typeof o._listRef.resetAfterIndex=="function"?o._listRef.resetAfterIndex(P,!0):(typeof o._listRef._getItemStyleCache=="function"&&o._listRef._getItemStyleCache(-1),o._listRef.forceUpdate())}})},w=0;w<a.length;w+=2)g(w)}}]),t})(J.reactExports.PureComponent);//! moment.js
|
|
122
|
+
//! version : 2.30.1
|
|
123
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
124
|
+
//! license : MIT
|
|
125
|
+
//! momentjs.com
|
|
126
|
+
var Am;function oe(){return Am.apply(null,arguments)}function dT(e){Am=e}function mr(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function fs(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Ge(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function md(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(Ge(e,t))return!1;return!0}function xn(e){return e===void 0}function gi(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function lo(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Om(e,t){var r=[],a,o=e.length;for(a=0;a<o;++a)r.push(t(e[a],a));return r}function $i(e,t){for(var r in t)Ge(t,r)&&(e[r]=t[r]);return Ge(t,"toString")&&(e.toString=t.toString),Ge(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Wr(e,t,r,a){return e0(e,t,r,a,!0).utc()}function hT(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Ie(e){return e._pf==null&&(e._pf=hT()),e._pf}var Rf;Array.prototype.some?Rf=Array.prototype.some:Rf=function(e){var t=Object(this),r=t.length>>>0,a;for(a=0;a<r;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1};function yd(e){var t=null,r=!1,a=e._d&&!isNaN(e._d.getTime());if(a&&(t=Ie(e),r=Rf.call(t.parsedDateParts,function(o){return o!=null}),a=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(a=a&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=a;else return a;return e._isValid}function Al(e){var t=Wr(NaN);return e!=null?$i(Ie(t),e):Ie(t).userInvalidated=!0,t}var pg=oe.momentProperties=[],ff=!1;function vd(e,t){var r,a,o,c=pg.length;if(xn(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),xn(t._i)||(e._i=t._i),xn(t._f)||(e._f=t._f),xn(t._l)||(e._l=t._l),xn(t._strict)||(e._strict=t._strict),xn(t._tzm)||(e._tzm=t._tzm),xn(t._isUTC)||(e._isUTC=t._isUTC),xn(t._offset)||(e._offset=t._offset),xn(t._pf)||(e._pf=Ie(t)),xn(t._locale)||(e._locale=t._locale),c>0)for(r=0;r<c;r++)a=pg[r],o=t[a],xn(o)||(e[a]=o);return e}function co(e){vd(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ff===!1&&(ff=!0,oe.updateOffset(this),ff=!1)}function yr(e){return e instanceof co||e!=null&&e._isAMomentObject!=null}function Im(e){oe.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function rr(e,t){var r=!0;return $i(function(){if(oe.deprecationHandler!=null&&oe.deprecationHandler(null,e),r){var a=[],o,c,g,w=arguments.length;for(c=0;c<w;c++){if(o="",typeof arguments[c]=="object"){o+=`
|
|
127
|
+
[`+c+"] ";for(g in arguments[0])Ge(arguments[0],g)&&(o+=g+": "+arguments[0][g]+", ");o=o.slice(0,-2)}else o=arguments[c];a.push(o)}Im(e+`
|
|
128
|
+
Arguments: `+Array.prototype.slice.call(a).join("")+`
|
|
129
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var gg={};function Rm(e,t){oe.deprecationHandler!=null&&oe.deprecationHandler(e,t),gg[e]||(Im(t),gg[e]=!0)}oe.suppressDeprecationWarnings=!1;oe.deprecationHandler=null;function Br(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function pT(e){var t,r;for(r in e)Ge(e,r)&&(t=e[r],Br(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Pf(e,t){var r=$i({},e),a;for(a in t)Ge(t,a)&&(fs(e[a])&&fs(t[a])?(r[a]={},$i(r[a],e[a]),$i(r[a],t[a])):t[a]!=null?r[a]=t[a]:delete r[a]);for(a in e)Ge(e,a)&&!Ge(t,a)&&fs(e[a])&&(r[a]=$i({},r[a]));return r}function bd(e){e!=null&&this.set(e)}var Nf;Object.keys?Nf=Object.keys:Nf=function(e){var t,r=[];for(t in e)Ge(e,t)&&r.push(t);return r};var gT={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function mT(e,t,r){var a=this._calendar[e]||this._calendar.sameElse;return Br(a)?a.call(t,r):a}function Fr(e,t,r){var a=""+Math.abs(e),o=t-a.length,c=e>=0;return(c?r?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+a}var _d=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Tu=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,df={},Vs={};function be(e,t,r,a){var o=a;typeof a=="string"&&(o=function(){return this[a]()}),e&&(Vs[e]=o),t&&(Vs[t[0]]=function(){return Fr(o.apply(this,arguments),t[1],t[2])}),r&&(Vs[r]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function yT(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function vT(e){var t=e.match(_d),r,a;for(r=0,a=t.length;r<a;r++)Vs[t[r]]?t[r]=Vs[t[r]]:t[r]=yT(t[r]);return function(o){var c="",g;for(g=0;g<a;g++)c+=Br(t[g])?t[g].call(o,e):t[g];return c}}function Pu(e,t){return e.isValid()?(t=Pm(t,e.localeData()),df[t]=df[t]||vT(t),df[t](e)):e.localeData().invalidDate()}function Pm(e,t){var r=5;function a(o){return t.longDateFormat(o)||o}for(Tu.lastIndex=0;r>=0&&Tu.test(e);)e=e.replace(Tu,a),Tu.lastIndex=0,r-=1;return e}var bT={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function _T(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(_d).map(function(a){return a==="MMMM"||a==="MM"||a==="DD"||a==="dddd"?a.slice(1):a}).join(""),this._longDateFormat[e])}var wT="Invalid date";function xT(){return this._invalidDate}var ST="%d",kT=/\d{1,2}/;function DT(e){return this._ordinal.replace("%d",e)}var CT={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function TT(e,t,r,a){var o=this._relativeTime[r];return Br(o)?o(e,t,r,a):o.replace(/%d/i,e)}function ET(e,t){var r=this._relativeTime[e>0?"future":"past"];return Br(r)?r(t):r.replace(/%s/i,t)}var mg={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ir(e){return typeof e=="string"?mg[e]||mg[e.toLowerCase()]:void 0}function wd(e){var t={},r,a;for(a in e)Ge(e,a)&&(r=ir(a),r&&(t[r]=e[a]));return t}var MT={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function AT(e){var t=[],r;for(r in e)Ge(e,r)&&t.push({unit:r,priority:MT[r]});return t.sort(function(a,o){return a.priority-o.priority}),t}var Nm=/\d/,Ln=/\d\d/,Lm=/\d{3}/,xd=/\d{4}/,Ol=/[+-]?\d{6}/,ct=/\d\d?/,$m=/\d\d\d\d?/,Fm=/\d\d\d\d\d\d?/,Il=/\d{1,3}/,Sd=/\d{1,4}/,Rl=/[+-]?\d{1,6}/,ea=/\d+/,Pl=/[+-]?\d+/,OT=/Z|[+-]\d\d:?\d\d/gi,Nl=/Z|[+-]\d\d(?::?\d\d)?/gi,IT=/[+-]?\d+(\.\d{1,3})?/,fo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ta=/^[1-9]\d?/,kd=/^([1-9]\d|\d)/,Bu;Bu={};function he(e,t,r){Bu[e]=Br(t)?t:function(a,o){return a&&r?r:t}}function RT(e,t){return Ge(Bu,e)?Bu[e](t._strict,t._locale):new RegExp(PT(e))}function PT(e){return fi(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,a,o,c){return r||a||o||c}))}function fi(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Qn(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function He(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=Qn(t)),r}var Lf={};function st(e,t){var r,a=t,o;for(typeof e=="string"&&(e=[e]),gi(t)&&(a=function(c,g){g[t]=He(c)}),o=e.length,r=0;r<o;r++)Lf[e[r]]=a}function ho(e,t){st(e,function(r,a,o,c){o._w=o._w||{},t(r,o._w,o,c)})}function NT(e,t,r){t!=null&&Ge(Lf,e)&&Lf[e](t,r._a,r,e)}function Ll(e){return e%4===0&&e%100!==0||e%400===0}var tn=0,li=1,Pr=2,Pt=3,gr=4,ci=5,ls=6,LT=7,$T=8;be("Y",0,0,function(){var e=this.year();return e<=9999?Fr(e,4):"+"+e});be(0,["YY",2],0,function(){return this.year()%100});be(0,["YYYY",4],0,"year");be(0,["YYYYY",5],0,"year");be(0,["YYYYYY",6,!0],0,"year");he("Y",Pl);he("YY",ct,Ln);he("YYYY",Sd,xd);he("YYYYY",Rl,Ol);he("YYYYYY",Rl,Ol);st(["YYYYY","YYYYYY"],tn);st("YYYY",function(e,t){t[tn]=e.length===2?oe.parseTwoDigitYear(e):He(e)});st("YY",function(e,t){t[tn]=oe.parseTwoDigitYear(e)});st("Y",function(e,t){t[tn]=parseInt(e,10)});function za(e){return Ll(e)?366:365}oe.parseTwoDigitYear=function(e){return He(e)+(He(e)>68?1900:2e3)};var Ym=na("FullYear",!0);function FT(){return Ll(this.year())}function na(e,t){return function(r){return r!=null?(Wm(this,e,r),oe.updateOffset(this,t),this):Ja(this,e)}}function Ja(e,t){if(!e.isValid())return NaN;var r=e._d,a=e._isUTC;switch(t){case"Milliseconds":return a?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return a?r.getUTCSeconds():r.getSeconds();case"Minutes":return a?r.getUTCMinutes():r.getMinutes();case"Hours":return a?r.getUTCHours():r.getHours();case"Date":return a?r.getUTCDate():r.getDate();case"Day":return a?r.getUTCDay():r.getDay();case"Month":return a?r.getUTCMonth():r.getMonth();case"FullYear":return a?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Wm(e,t,r){var a,o,c,g,w;if(!(!e.isValid()||isNaN(r))){switch(a=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?a.setUTCMilliseconds(r):a.setMilliseconds(r));case"Seconds":return void(o?a.setUTCSeconds(r):a.setSeconds(r));case"Minutes":return void(o?a.setUTCMinutes(r):a.setMinutes(r));case"Hours":return void(o?a.setUTCHours(r):a.setHours(r));case"Date":return void(o?a.setUTCDate(r):a.setDate(r));case"FullYear":break;default:return}c=r,g=e.month(),w=e.date(),w=w===29&&g===1&&!Ll(c)?28:w,o?a.setUTCFullYear(c,g,w):a.setFullYear(c,g,w)}}function YT(e){return e=ir(e),Br(this[e])?this[e]():this}function WT(e,t){if(typeof e=="object"){e=wd(e);var r=AT(e),a,o=r.length;for(a=0;a<o;a++)this[r[a].unit](e[r[a].unit])}else if(e=ir(e),Br(this[e]))return this[e](t);return this}function BT(e,t){return(e%t+t)%t}var kt;Array.prototype.indexOf?kt=Array.prototype.indexOf:kt=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Dd(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=BT(t,12);return e+=(t-r)/12,r===1?Ll(e)?29:28:31-r%7%2}be("M",["MM",2],"Mo",function(){return this.month()+1});be("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});be("MMMM",0,0,function(e){return this.localeData().months(this,e)});he("M",ct,ta);he("MM",ct,Ln);he("MMM",function(e,t){return t.monthsShortRegex(e)});he("MMMM",function(e,t){return t.monthsRegex(e)});st(["M","MM"],function(e,t){t[li]=He(e)-1});st(["MMM","MMMM"],function(e,t,r,a){var o=r._locale.monthsParse(e,a,r._strict);o!=null?t[li]=o:Ie(r).invalidMonth=e});var HT="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Bm="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Hm=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,jT=fo,UT=fo;function qT(e,t){return e?mr(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Hm).test(t)?"format":"standalone"][e.month()]:mr(this._months)?this._months:this._months.standalone}function zT(e,t){return e?mr(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Hm.test(t)?"format":"standalone"][e.month()]:mr(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function VT(e,t,r){var a,o,c,g=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)c=Wr([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(c,"").toLocaleLowerCase(),this._longMonthsParse[a]=this.months(c,"").toLocaleLowerCase();return r?t==="MMM"?(o=kt.call(this._shortMonthsParse,g),o!==-1?o:null):(o=kt.call(this._longMonthsParse,g),o!==-1?o:null):t==="MMM"?(o=kt.call(this._shortMonthsParse,g),o!==-1?o:(o=kt.call(this._longMonthsParse,g),o!==-1?o:null)):(o=kt.call(this._longMonthsParse,g),o!==-1?o:(o=kt.call(this._shortMonthsParse,g),o!==-1?o:null))}function GT(e,t,r){var a,o,c;if(this._monthsParseExact)return VT.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++){if(o=Wr([2e3,a]),r&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[a]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),!r&&!this._monthsParse[a]&&(c="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[a]=new RegExp(c.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[a].test(e))return a;if(r&&t==="MMM"&&this._shortMonthsParse[a].test(e))return a;if(!r&&this._monthsParse[a].test(e))return a}}function jm(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=He(t);else if(t=e.localeData().monthsParse(t),!gi(t))return e}var r=t,a=e.date();return a=a<29?a:Math.min(a,Dd(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,a):e._d.setMonth(r,a),e}function Um(e){return e!=null?(jm(this,e),oe.updateOffset(this,!0),this):Ja(this,"Month")}function KT(){return Dd(this.year(),this.month())}function XT(e){return this._monthsParseExact?(Ge(this,"_monthsRegex")||qm.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Ge(this,"_monthsShortRegex")||(this._monthsShortRegex=jT),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ZT(e){return this._monthsParseExact?(Ge(this,"_monthsRegex")||qm.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Ge(this,"_monthsRegex")||(this._monthsRegex=UT),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function qm(){function e(k,E){return E.length-k.length}var t=[],r=[],a=[],o,c,g,w;for(o=0;o<12;o++)c=Wr([2e3,o]),g=fi(this.monthsShort(c,"")),w=fi(this.months(c,"")),t.push(g),r.push(w),a.push(w),a.push(g);t.sort(e),r.sort(e),a.sort(e),this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function JT(e,t,r,a,o,c,g){var w;return e<100&&e>=0?(w=new Date(e+400,t,r,a,o,c,g),isFinite(w.getFullYear())&&w.setFullYear(e)):w=new Date(e,t,r,a,o,c,g),w}function Qa(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Hu(e,t,r){var a=7+t-r,o=(7+Qa(e,0,a).getUTCDay()-t)%7;return-o+a-1}function zm(e,t,r,a,o){var c=(7+r-a)%7,g=Hu(e,a,o),w=1+7*(t-1)+c+g,k,E;return w<=0?(k=e-1,E=za(k)+w):w>za(e)?(k=e+1,E=w-za(e)):(k=e,E=w),{year:k,dayOfYear:E}}function eo(e,t,r){var a=Hu(e.year(),t,r),o=Math.floor((e.dayOfYear()-a-1)/7)+1,c,g;return o<1?(g=e.year()-1,c=o+di(g,t,r)):o>di(e.year(),t,r)?(c=o-di(e.year(),t,r),g=e.year()+1):(g=e.year(),c=o),{week:c,year:g}}function di(e,t,r){var a=Hu(e,t,r),o=Hu(e+1,t,r);return(za(e)-a+o)/7}be("w",["ww",2],"wo","week");be("W",["WW",2],"Wo","isoWeek");he("w",ct,ta);he("ww",ct,Ln);he("W",ct,ta);he("WW",ct,Ln);ho(["w","ww","W","WW"],function(e,t,r,a){t[a.substr(0,1)]=He(e)});function QT(e){return eo(e,this._week.dow,this._week.doy).week}var eE={dow:0,doy:6};function tE(){return this._week.dow}function nE(){return this._week.doy}function rE(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function iE(e){var t=eo(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}be("d",0,"do","day");be("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});be("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});be("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});be("e",0,0,"weekday");be("E",0,0,"isoWeekday");he("d",ct);he("e",ct);he("E",ct);he("dd",function(e,t){return t.weekdaysMinRegex(e)});he("ddd",function(e,t){return t.weekdaysShortRegex(e)});he("dddd",function(e,t){return t.weekdaysRegex(e)});ho(["dd","ddd","dddd"],function(e,t,r,a){var o=r._locale.weekdaysParse(e,a,r._strict);o!=null?t.d=o:Ie(r).invalidWeekday=e});ho(["d","e","E"],function(e,t,r,a){t[a]=He(e)});function sE(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function aE(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Cd(e,t){return e.slice(t,7).concat(e.slice(0,t))}var oE="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vm="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),uE="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),lE=fo,cE=fo,fE=fo;function dE(e,t){var r=mr(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Cd(r,this._week.dow):e?r[e.day()]:r}function hE(e){return e===!0?Cd(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function pE(e){return e===!0?Cd(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function gE(e,t,r){var a,o,c,g=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)c=Wr([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(c,"").toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(c,"").toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(c,"").toLocaleLowerCase();return r?t==="dddd"?(o=kt.call(this._weekdaysParse,g),o!==-1?o:null):t==="ddd"?(o=kt.call(this._shortWeekdaysParse,g),o!==-1?o:null):(o=kt.call(this._minWeekdaysParse,g),o!==-1?o:null):t==="dddd"?(o=kt.call(this._weekdaysParse,g),o!==-1||(o=kt.call(this._shortWeekdaysParse,g),o!==-1)?o:(o=kt.call(this._minWeekdaysParse,g),o!==-1?o:null)):t==="ddd"?(o=kt.call(this._shortWeekdaysParse,g),o!==-1||(o=kt.call(this._weekdaysParse,g),o!==-1)?o:(o=kt.call(this._minWeekdaysParse,g),o!==-1?o:null)):(o=kt.call(this._minWeekdaysParse,g),o!==-1||(o=kt.call(this._weekdaysParse,g),o!==-1)?o:(o=kt.call(this._shortWeekdaysParse,g),o!==-1?o:null))}function mE(e,t,r){var a,o,c;if(this._weekdaysParseExact)return gE.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++){if(o=Wr([2e3,1]).day(a),r&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[a]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[a]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[a]||(c="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[a]=new RegExp(c.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[a].test(e))return a;if(r&&t==="ddd"&&this._shortWeekdaysParse[a].test(e))return a;if(r&&t==="dd"&&this._minWeekdaysParse[a].test(e))return a;if(!r&&this._weekdaysParse[a].test(e))return a}}function yE(e){if(!this.isValid())return e!=null?this:NaN;var t=Ja(this,"Day");return e!=null?(e=sE(e,this.localeData()),this.add(e-t,"d")):t}function vE(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function bE(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=aE(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function _E(e){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||Td.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Ge(this,"_weekdaysRegex")||(this._weekdaysRegex=lE),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function wE(e){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||Td.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ge(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=cE),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function xE(e){return this._weekdaysParseExact?(Ge(this,"_weekdaysRegex")||Td.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ge(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=fE),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Td(){function e(P,W){return W.length-P.length}var t=[],r=[],a=[],o=[],c,g,w,k,E;for(c=0;c<7;c++)g=Wr([2e3,1]).day(c),w=fi(this.weekdaysMin(g,"")),k=fi(this.weekdaysShort(g,"")),E=fi(this.weekdays(g,"")),t.push(w),r.push(k),a.push(E),o.push(w),o.push(k),o.push(E);t.sort(e),r.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ed(){return this.hours()%12||12}function SE(){return this.hours()||24}be("H",["HH",2],0,"hour");be("h",["hh",2],0,Ed);be("k",["kk",2],0,SE);be("hmm",0,0,function(){return""+Ed.apply(this)+Fr(this.minutes(),2)});be("hmmss",0,0,function(){return""+Ed.apply(this)+Fr(this.minutes(),2)+Fr(this.seconds(),2)});be("Hmm",0,0,function(){return""+this.hours()+Fr(this.minutes(),2)});be("Hmmss",0,0,function(){return""+this.hours()+Fr(this.minutes(),2)+Fr(this.seconds(),2)});function Gm(e,t){be(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Gm("a",!0);Gm("A",!1);function Km(e,t){return t._meridiemParse}he("a",Km);he("A",Km);he("H",ct,kd);he("h",ct,ta);he("k",ct,ta);he("HH",ct,Ln);he("hh",ct,Ln);he("kk",ct,Ln);he("hmm",$m);he("hmmss",Fm);he("Hmm",$m);he("Hmmss",Fm);st(["H","HH"],Pt);st(["k","kk"],function(e,t,r){var a=He(e);t[Pt]=a===24?0:a});st(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});st(["h","hh"],function(e,t,r){t[Pt]=He(e),Ie(r).bigHour=!0});st("hmm",function(e,t,r){var a=e.length-2;t[Pt]=He(e.substr(0,a)),t[gr]=He(e.substr(a)),Ie(r).bigHour=!0});st("hmmss",function(e,t,r){var a=e.length-4,o=e.length-2;t[Pt]=He(e.substr(0,a)),t[gr]=He(e.substr(a,2)),t[ci]=He(e.substr(o)),Ie(r).bigHour=!0});st("Hmm",function(e,t,r){var a=e.length-2;t[Pt]=He(e.substr(0,a)),t[gr]=He(e.substr(a))});st("Hmmss",function(e,t,r){var a=e.length-4,o=e.length-2;t[Pt]=He(e.substr(0,a)),t[gr]=He(e.substr(a,2)),t[ci]=He(e.substr(o))});function kE(e){return(e+"").toLowerCase().charAt(0)==="p"}var DE=/[ap]\.?m?\.?/i,CE=na("Hours",!0);function TE(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var Xm={calendar:gT,longDateFormat:bT,invalidDate:wT,ordinal:ST,dayOfMonthOrdinalParse:kT,relativeTime:CT,months:HT,monthsShort:Bm,week:eE,weekdays:oE,weekdaysMin:uE,weekdaysShort:Vm,meridiemParse:DE},ht={},ja={},to;function EE(e,t){var r,a=Math.min(e.length,t.length);for(r=0;r<a;r+=1)if(e[r]!==t[r])return r;return a}function yg(e){return e&&e.toLowerCase().replace("_","-")}function ME(e){for(var t=0,r,a,o,c;t<e.length;){for(c=yg(e[t]).split("-"),r=c.length,a=yg(e[t+1]),a=a?a.split("-"):null;r>0;){if(o=$l(c.slice(0,r).join("-")),o)return o;if(a&&a.length>=r&&EE(c,a)>=r-1)break;r--}t++}return to}function AE(e){return!!(e&&e.match("^[^/\\\\]*$"))}function $l(e){var t=null,r;if(ht[e]===void 0&&typeof module<"u"&&module&&module.exports&&AE(e))try{t=to._abbr,r=require,r("./locale/"+e),Yi(t)}catch{ht[e]=null}return ht[e]}function Yi(e,t){var r;return e&&(xn(t)?r=mi(e):r=Md(e,t),r?to=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),to._abbr}function Md(e,t){if(t!==null){var r,a=Xm;if(t.abbr=e,ht[e]!=null)Rm("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),a=ht[e]._config;else if(t.parentLocale!=null)if(ht[t.parentLocale]!=null)a=ht[t.parentLocale]._config;else if(r=$l(t.parentLocale),r!=null)a=r._config;else return ja[t.parentLocale]||(ja[t.parentLocale]=[]),ja[t.parentLocale].push({name:e,config:t}),null;return ht[e]=new bd(Pf(a,t)),ja[e]&&ja[e].forEach(function(o){Md(o.name,o.config)}),Yi(e),ht[e]}else return delete ht[e],null}function OE(e,t){if(t!=null){var r,a,o=Xm;ht[e]!=null&&ht[e].parentLocale!=null?ht[e].set(Pf(ht[e]._config,t)):(a=$l(e),a!=null&&(o=a._config),t=Pf(o,t),a==null&&(t.abbr=e),r=new bd(t),r.parentLocale=ht[e],ht[e]=r),Yi(e)}else ht[e]!=null&&(ht[e].parentLocale!=null?(ht[e]=ht[e].parentLocale,e===Yi()&&Yi(e)):ht[e]!=null&&delete ht[e]);return ht[e]}function mi(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return to;if(!mr(e)){if(t=$l(e),t)return t;e=[e]}return ME(e)}function IE(){return Nf(ht)}function Ad(e){var t,r=e._a;return r&&Ie(e).overflow===-2&&(t=r[li]<0||r[li]>11?li:r[Pr]<1||r[Pr]>Dd(r[tn],r[li])?Pr:r[Pt]<0||r[Pt]>24||r[Pt]===24&&(r[gr]!==0||r[ci]!==0||r[ls]!==0)?Pt:r[gr]<0||r[gr]>59?gr:r[ci]<0||r[ci]>59?ci:r[ls]<0||r[ls]>999?ls:-1,Ie(e)._overflowDayOfYear&&(t<tn||t>Pr)&&(t=Pr),Ie(e)._overflowWeeks&&t===-1&&(t=LT),Ie(e)._overflowWeekday&&t===-1&&(t=$T),Ie(e).overflow=t),e}var RE=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,PE=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,NE=/Z|[+-]\d\d(?::?\d\d)?/,Eu=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],hf=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],LE=/^\/?Date\((-?\d+)/i,$E=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,FE={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Zm(e){var t,r,a=e._i,o=RE.exec(a)||PE.exec(a),c,g,w,k,E=Eu.length,P=hf.length;if(o){for(Ie(e).iso=!0,t=0,r=E;t<r;t++)if(Eu[t][1].exec(o[1])){g=Eu[t][0],c=Eu[t][2]!==!1;break}if(g==null){e._isValid=!1;return}if(o[3]){for(t=0,r=P;t<r;t++)if(hf[t][1].exec(o[3])){w=(o[2]||" ")+hf[t][0];break}if(w==null){e._isValid=!1;return}}if(!c&&w!=null){e._isValid=!1;return}if(o[4])if(NE.exec(o[4]))k="Z";else{e._isValid=!1;return}e._f=g+(w||"")+(k||""),Id(e)}else e._isValid=!1}function YE(e,t,r,a,o,c){var g=[WE(e),Bm.indexOf(t),parseInt(r,10),parseInt(a,10),parseInt(o,10)];return c&&g.push(parseInt(c,10)),g}function WE(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function BE(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function HE(e,t,r){if(e){var a=Vm.indexOf(e),o=new Date(t[0],t[1],t[2]).getDay();if(a!==o)return Ie(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function jE(e,t,r){if(e)return FE[e];if(t)return 0;var a=parseInt(r,10),o=a%100,c=(a-o)/100;return c*60+o}function Jm(e){var t=$E.exec(BE(e._i)),r;if(t){if(r=YE(t[4],t[3],t[2],t[5],t[6],t[7]),!HE(t[1],r,e))return;e._a=r,e._tzm=jE(t[8],t[9],t[10]),e._d=Qa.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Ie(e).rfc2822=!0}else e._isValid=!1}function UE(e){var t=LE.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Zm(e),e._isValid===!1)delete e._isValid;else return;if(Jm(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:oe.createFromInputFallback(e)}oe.createFromInputFallback=rr("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function js(e,t,r){return e??t??r}function qE(e){var t=new Date(oe.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Od(e){var t,r,a=[],o,c,g;if(!e._d){for(o=qE(e),e._w&&e._a[Pr]==null&&e._a[li]==null&&zE(e),e._dayOfYear!=null&&(g=js(e._a[tn],o[tn]),(e._dayOfYear>za(g)||e._dayOfYear===0)&&(Ie(e)._overflowDayOfYear=!0),r=Qa(g,0,e._dayOfYear),e._a[li]=r.getUTCMonth(),e._a[Pr]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=a[t]=o[t];for(;t<7;t++)e._a[t]=a[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Pt]===24&&e._a[gr]===0&&e._a[ci]===0&&e._a[ls]===0&&(e._nextDay=!0,e._a[Pt]=0),e._d=(e._useUTC?Qa:JT).apply(null,a),c=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Pt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==c&&(Ie(e).weekdayMismatch=!0)}}function zE(e){var t,r,a,o,c,g,w,k,E;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(c=1,g=4,r=js(t.GG,e._a[tn],eo(lt(),1,4).year),a=js(t.W,1),o=js(t.E,1),(o<1||o>7)&&(k=!0)):(c=e._locale._week.dow,g=e._locale._week.doy,E=eo(lt(),c,g),r=js(t.gg,e._a[tn],E.year),a=js(t.w,E.week),t.d!=null?(o=t.d,(o<0||o>6)&&(k=!0)):t.e!=null?(o=t.e+c,(t.e<0||t.e>6)&&(k=!0)):o=c),a<1||a>di(r,c,g)?Ie(e)._overflowWeeks=!0:k!=null?Ie(e)._overflowWeekday=!0:(w=zm(r,a,o,c,g),e._a[tn]=w.year,e._dayOfYear=w.dayOfYear)}oe.ISO_8601=function(){};oe.RFC_2822=function(){};function Id(e){if(e._f===oe.ISO_8601){Zm(e);return}if(e._f===oe.RFC_2822){Jm(e);return}e._a=[],Ie(e).empty=!0;var t=""+e._i,r,a,o,c,g,w=t.length,k=0,E,P;for(o=Pm(e._f,e._locale).match(_d)||[],P=o.length,r=0;r<P;r++)c=o[r],a=(t.match(RT(c,e))||[])[0],a&&(g=t.substr(0,t.indexOf(a)),g.length>0&&Ie(e).unusedInput.push(g),t=t.slice(t.indexOf(a)+a.length),k+=a.length),Vs[c]?(a?Ie(e).empty=!1:Ie(e).unusedTokens.push(c),NT(c,a,e)):e._strict&&!a&&Ie(e).unusedTokens.push(c);Ie(e).charsLeftOver=w-k,t.length>0&&Ie(e).unusedInput.push(t),e._a[Pt]<=12&&Ie(e).bigHour===!0&&e._a[Pt]>0&&(Ie(e).bigHour=void 0),Ie(e).parsedDateParts=e._a.slice(0),Ie(e).meridiem=e._meridiem,e._a[Pt]=VE(e._locale,e._a[Pt],e._meridiem),E=Ie(e).era,E!==null&&(e._a[tn]=e._locale.erasConvertYear(E,e._a[tn])),Od(e),Ad(e)}function VE(e,t,r){var a;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(a=e.isPM(r),a&&t<12&&(t+=12),!a&&t===12&&(t=0)),t)}function GE(e){var t,r,a,o,c,g,w=!1,k=e._f.length;if(k===0){Ie(e).invalidFormat=!0,e._d=new Date(NaN);return}for(o=0;o<k;o++)c=0,g=!1,t=vd({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[o],Id(t),yd(t)&&(g=!0),c+=Ie(t).charsLeftOver,c+=Ie(t).unusedTokens.length*10,Ie(t).score=c,w?c<a&&(a=c,r=t):(a==null||c<a||g)&&(a=c,r=t,g&&(w=!0));$i(e,r||t)}function KE(e){if(!e._d){var t=wd(e._i),r=t.day===void 0?t.date:t.day;e._a=Om([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(a){return a&&parseInt(a,10)}),Od(e)}}function XE(e){var t=new co(Ad(Qm(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Qm(e){var t=e._i,r=e._f;return e._locale=e._locale||mi(e._l),t===null||r===void 0&&t===""?Al({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),yr(t)?new co(Ad(t)):(lo(t)?e._d=t:mr(r)?GE(e):r?Id(e):ZE(e),yd(e)||(e._d=null),e))}function ZE(e){var t=e._i;xn(t)?e._d=new Date(oe.now()):lo(t)?e._d=new Date(t.valueOf()):typeof t=="string"?UE(e):mr(t)?(e._a=Om(t.slice(0),function(r){return parseInt(r,10)}),Od(e)):fs(t)?KE(e):gi(t)?e._d=new Date(t):oe.createFromInputFallback(e)}function e0(e,t,r,a,o){var c={};return(t===!0||t===!1)&&(a=t,t=void 0),(r===!0||r===!1)&&(a=r,r=void 0),(fs(e)&&md(e)||mr(e)&&e.length===0)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=o,c._l=r,c._i=e,c._f=t,c._strict=a,XE(c)}function lt(e,t,r,a){return e0(e,t,r,a,!1)}var JE=rr("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=lt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Al()}),QE=rr("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=lt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Al()});function t0(e,t){var r,a;if(t.length===1&&mr(t[0])&&(t=t[0]),!t.length)return lt();for(r=t[0],a=1;a<t.length;++a)(!t[a].isValid()||t[a][e](r))&&(r=t[a]);return r}function eM(){var e=[].slice.call(arguments,0);return t0("isBefore",e)}function tM(){var e=[].slice.call(arguments,0);return t0("isAfter",e)}var nM=function(){return Date.now?Date.now():+new Date},Ua=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rM(e){var t,r=!1,a,o=Ua.length;for(t in e)if(Ge(e,t)&&!(kt.call(Ua,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(a=0;a<o;++a)if(e[Ua[a]]){if(r)return!1;parseFloat(e[Ua[a]])!==He(e[Ua[a]])&&(r=!0)}return!0}function iM(){return this._isValid}function sM(){return vr(NaN)}function Fl(e){var t=wd(e),r=t.year||0,a=t.quarter||0,o=t.month||0,c=t.week||t.isoWeek||0,g=t.day||0,w=t.hour||0,k=t.minute||0,E=t.second||0,P=t.millisecond||0;this._isValid=rM(t),this._milliseconds=+P+E*1e3+k*6e4+w*1e3*60*60,this._days=+g+c*7,this._months=+o+a*3+r*12,this._data={},this._locale=mi(),this._bubble()}function Nu(e){return e instanceof Fl}function $f(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function aM(e,t,r){var a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),c=0,g;for(g=0;g<a;g++)(r&&e[g]!==t[g]||!r&&He(e[g])!==He(t[g]))&&c++;return c+o}function n0(e,t){be(e,0,0,function(){var r=this.utcOffset(),a="+";return r<0&&(r=-r,a="-"),a+Fr(~~(r/60),2)+t+Fr(~~r%60,2)})}n0("Z",":");n0("ZZ","");he("Z",Nl);he("ZZ",Nl);st(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Rd(Nl,e)});var oM=/([\+\-]|\d\d)/gi;function Rd(e,t){var r=(t||"").match(e),a,o,c;return r===null?null:(a=r[r.length-1]||[],o=(a+"").match(oM)||["-",0,0],c=+(o[1]*60)+He(o[2]),c===0?0:o[0]==="+"?c:-c)}function Pd(e,t){var r,a;return t._isUTC?(r=t.clone(),a=(yr(e)||lo(e)?e.valueOf():lt(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+a),oe.updateOffset(r,!1),r):lt(e).local()}function Ff(e){return-Math.round(e._d.getTimezoneOffset())}oe.updateOffset=function(){};function uM(e,t,r){var a=this._offset||0,o;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Rd(Nl,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(o=Ff(this)),this._offset=e,this._isUTC=!0,o!=null&&this.add(o,"m"),a!==e&&(!t||this._changeInProgress?s0(this,vr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,oe.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?a:Ff(this)}function lM(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function cM(e){return this.utcOffset(0,e)}function fM(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ff(this),"m")),this}function dM(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Rd(OT,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function hM(e){return this.isValid()?(e=e?lt(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function pM(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function gM(){if(!xn(this._isDSTShifted))return this._isDSTShifted;var e={},t;return vd(e,this),e=Qm(e),e._a?(t=e._isUTC?Wr(e._a):lt(e._a),this._isDSTShifted=this.isValid()&&aM(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function mM(){return this.isValid()?!this._isUTC:!1}function yM(){return this.isValid()?this._isUTC:!1}function r0(){return this.isValid()?this._isUTC&&this._offset===0:!1}var vM=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,bM=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function vr(e,t){var r=e,a=null,o,c,g;return Nu(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:gi(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(a=vM.exec(e))?(o=a[1]==="-"?-1:1,r={y:0,d:He(a[Pr])*o,h:He(a[Pt])*o,m:He(a[gr])*o,s:He(a[ci])*o,ms:He($f(a[ls]*1e3))*o}):(a=bM.exec(e))?(o=a[1]==="-"?-1:1,r={y:as(a[2],o),M:as(a[3],o),w:as(a[4],o),d:as(a[5],o),h:as(a[6],o),m:as(a[7],o),s:as(a[8],o)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(g=_M(lt(r.from),lt(r.to)),r={},r.ms=g.milliseconds,r.M=g.months),c=new Fl(r),Nu(e)&&Ge(e,"_locale")&&(c._locale=e._locale),Nu(e)&&Ge(e,"_isValid")&&(c._isValid=e._isValid),c}vr.fn=Fl.prototype;vr.invalid=sM;function as(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function vg(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function _M(e,t){var r;return e.isValid()&&t.isValid()?(t=Pd(t,e),e.isBefore(t)?r=vg(e,t):(r=vg(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function i0(e,t){return function(r,a){var o,c;return a!==null&&!isNaN(+a)&&(Rm(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),c=r,r=a,a=c),o=vr(r,a),s0(this,o,e),this}}function s0(e,t,r,a){var o=t._milliseconds,c=$f(t._days),g=$f(t._months);e.isValid()&&(a=a??!0,g&&jm(e,Ja(e,"Month")+g*r),c&&Wm(e,"Date",Ja(e,"Date")+c*r),o&&e._d.setTime(e._d.valueOf()+o*r),a&&oe.updateOffset(e,c||g))}var wM=i0(1,"add"),xM=i0(-1,"subtract");function a0(e){return typeof e=="string"||e instanceof String}function SM(e){return yr(e)||lo(e)||a0(e)||gi(e)||DM(e)||kM(e)||e===null||e===void 0}function kM(e){var t=fs(e)&&!md(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o,c,g=a.length;for(o=0;o<g;o+=1)c=a[o],r=r||Ge(e,c);return t&&r}function DM(e){var t=mr(e),r=!1;return t&&(r=e.filter(function(a){return!gi(a)&&a0(e)}).length===0),t&&r}function CM(e){var t=fs(e)&&!md(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],o,c;for(o=0;o<a.length;o+=1)c=a[o],r=r||Ge(e,c);return t&&r}function TM(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function EM(e,t){arguments.length===1&&(arguments[0]?SM(arguments[0])?(e=arguments[0],t=void 0):CM(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||lt(),a=Pd(r,this).startOf("day"),o=oe.calendarFormat(this,a)||"sameElse",c=t&&(Br(t[o])?t[o].call(this,r):t[o]);return this.format(c||this.localeData().calendar(o,this,lt(r)))}function MM(){return new co(this)}function AM(e,t){var r=yr(e)?e:lt(e);return this.isValid()&&r.isValid()?(t=ir(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function OM(e,t){var r=yr(e)?e:lt(e);return this.isValid()&&r.isValid()?(t=ir(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function IM(e,t,r,a){var o=yr(e)?e:lt(e),c=yr(t)?t:lt(t);return this.isValid()&&o.isValid()&&c.isValid()?(a=a||"()",(a[0]==="("?this.isAfter(o,r):!this.isBefore(o,r))&&(a[1]===")"?this.isBefore(c,r):!this.isAfter(c,r))):!1}function RM(e,t){var r=yr(e)?e:lt(e),a;return this.isValid()&&r.isValid()?(t=ir(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(a=r.valueOf(),this.clone().startOf(t).valueOf()<=a&&a<=this.clone().endOf(t).valueOf())):!1}function PM(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function NM(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function LM(e,t,r){var a,o,c;if(!this.isValid())return NaN;if(a=Pd(e,this),!a.isValid())return NaN;switch(o=(a.utcOffset()-this.utcOffset())*6e4,t=ir(t),t){case"year":c=Lu(this,a)/12;break;case"month":c=Lu(this,a);break;case"quarter":c=Lu(this,a)/3;break;case"second":c=(this-a)/1e3;break;case"minute":c=(this-a)/6e4;break;case"hour":c=(this-a)/36e5;break;case"day":c=(this-a-o)/864e5;break;case"week":c=(this-a-o)/6048e5;break;default:c=this-a}return r?c:Qn(c)}function Lu(e,t){if(e.date()<t.date())return-Lu(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),a=e.clone().add(r,"months"),o,c;return t-a<0?(o=e.clone().add(r-1,"months"),c=(t-a)/(a-o)):(o=e.clone().add(r+1,"months"),c=(t-a)/(o-a)),-(r+c)||0}oe.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";oe.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function $M(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function FM(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Pu(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Br(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Pu(r,"Z")):Pu(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function YM(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,a,o,c;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',a=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",c=t+'[")]',this.format(r+a+o+c)}function WM(e){e||(e=this.isUtc()?oe.defaultFormatUtc:oe.defaultFormat);var t=Pu(this,e);return this.localeData().postformat(t)}function BM(e,t){return this.isValid()&&(yr(e)&&e.isValid()||lt(e).isValid())?vr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function HM(e){return this.from(lt(),e)}function jM(e,t){return this.isValid()&&(yr(e)&&e.isValid()||lt(e).isValid())?vr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function UM(e){return this.to(lt(),e)}function o0(e){var t;return e===void 0?this._locale._abbr:(t=mi(e),t!=null&&(this._locale=t),this)}var u0=rr("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function l0(){return this._locale}var ju=1e3,Gs=60*ju,Uu=60*Gs,c0=(365*400+97)*24*Uu;function Ks(e,t){return(e%t+t)%t}function f0(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-c0:new Date(e,t,r).valueOf()}function d0(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-c0:Date.UTC(e,t,r)}function qM(e){var t,r;if(e=ir(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?d0:f0,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ks(t+(this._isUTC?0:this.utcOffset()*Gs),Uu);break;case"minute":t=this._d.valueOf(),t-=Ks(t,Gs);break;case"second":t=this._d.valueOf(),t-=Ks(t,ju);break}return this._d.setTime(t),oe.updateOffset(this,!0),this}function zM(e){var t,r;if(e=ir(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?d0:f0,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Uu-Ks(t+(this._isUTC?0:this.utcOffset()*Gs),Uu)-1;break;case"minute":t=this._d.valueOf(),t+=Gs-Ks(t,Gs)-1;break;case"second":t=this._d.valueOf(),t+=ju-Ks(t,ju)-1;break}return this._d.setTime(t),oe.updateOffset(this,!0),this}function VM(){return this._d.valueOf()-(this._offset||0)*6e4}function GM(){return Math.floor(this.valueOf()/1e3)}function KM(){return new Date(this.valueOf())}function XM(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ZM(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function JM(){return this.isValid()?this.toISOString():null}function QM(){return yd(this)}function eA(){return $i({},Ie(this))}function tA(){return Ie(this).overflow}function nA(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}be("N",0,0,"eraAbbr");be("NN",0,0,"eraAbbr");be("NNN",0,0,"eraAbbr");be("NNNN",0,0,"eraName");be("NNNNN",0,0,"eraNarrow");be("y",["y",1],"yo","eraYear");be("y",["yy",2],0,"eraYear");be("y",["yyy",3],0,"eraYear");be("y",["yyyy",4],0,"eraYear");he("N",Nd);he("NN",Nd);he("NNN",Nd);he("NNNN",hA);he("NNNNN",pA);st(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,a){var o=r._locale.erasParse(e,a,r._strict);o?Ie(r).era=o:Ie(r).invalidEra=e});he("y",ea);he("yy",ea);he("yyy",ea);he("yyyy",ea);he("yo",gA);st(["y","yy","yyy","yyyy"],tn);st(["yo"],function(e,t,r,a){var o;r._locale._eraYearOrdinalRegex&&(o=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[tn]=r._locale.eraYearOrdinalParse(e,o):t[tn]=parseInt(e,10)});function rA(e,t){var r,a,o,c=this._eras||mi("en")._eras;for(r=0,a=c.length;r<a;++r){switch(typeof c[r].since){case"string":o=oe(c[r].since).startOf("day"),c[r].since=o.valueOf();break}switch(typeof c[r].until){case"undefined":c[r].until=1/0;break;case"string":o=oe(c[r].until).startOf("day").valueOf(),c[r].until=o.valueOf();break}}return c}function iA(e,t,r){var a,o,c=this.eras(),g,w,k;for(e=e.toUpperCase(),a=0,o=c.length;a<o;++a)if(g=c[a].name.toUpperCase(),w=c[a].abbr.toUpperCase(),k=c[a].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(w===e)return c[a];break;case"NNNN":if(g===e)return c[a];break;case"NNNNN":if(k===e)return c[a];break}else if([g,w,k].indexOf(e)>=0)return c[a]}function sA(e,t){var r=e.since<=e.until?1:-1;return t===void 0?oe(e.since).year():oe(e.since).year()+(t-e.offset)*r}function aA(){var e,t,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return a[e].name;return""}function oA(){var e,t,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return a[e].narrow;return""}function uA(){var e,t,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return a[e].abbr;return""}function lA(){var e,t,r,a,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(r=o[e].since<=o[e].until?1:-1,a=this.clone().startOf("day").valueOf(),o[e].since<=a&&a<=o[e].until||o[e].until<=a&&a<=o[e].since)return(this.year()-oe(o[e].since).year())*r+o[e].offset;return this.year()}function cA(e){return Ge(this,"_erasNameRegex")||Ld.call(this),e?this._erasNameRegex:this._erasRegex}function fA(e){return Ge(this,"_erasAbbrRegex")||Ld.call(this),e?this._erasAbbrRegex:this._erasRegex}function dA(e){return Ge(this,"_erasNarrowRegex")||Ld.call(this),e?this._erasNarrowRegex:this._erasRegex}function Nd(e,t){return t.erasAbbrRegex(e)}function hA(e,t){return t.erasNameRegex(e)}function pA(e,t){return t.erasNarrowRegex(e)}function gA(e,t){return t._eraYearOrdinalRegex||ea}function Ld(){var e=[],t=[],r=[],a=[],o,c,g,w,k,E=this.eras();for(o=0,c=E.length;o<c;++o)g=fi(E[o].name),w=fi(E[o].abbr),k=fi(E[o].narrow),t.push(g),e.push(w),r.push(k),a.push(g),a.push(w),a.push(k);this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}be(0,["gg",2],0,function(){return this.weekYear()%100});be(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Yl(e,t){be(0,[e,e.length],0,t)}Yl("gggg","weekYear");Yl("ggggg","weekYear");Yl("GGGG","isoWeekYear");Yl("GGGGG","isoWeekYear");he("G",Pl);he("g",Pl);he("GG",ct,Ln);he("gg",ct,Ln);he("GGGG",Sd,xd);he("gggg",Sd,xd);he("GGGGG",Rl,Ol);he("ggggg",Rl,Ol);ho(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,a){t[a.substr(0,2)]=He(e)});ho(["gg","GG"],function(e,t,r,a){t[a]=oe.parseTwoDigitYear(e)});function mA(e){return h0.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function yA(e){return h0.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function vA(){return di(this.year(),1,4)}function bA(){return di(this.isoWeekYear(),1,4)}function _A(){var e=this.localeData()._week;return di(this.year(),e.dow,e.doy)}function wA(){var e=this.localeData()._week;return di(this.weekYear(),e.dow,e.doy)}function h0(e,t,r,a,o){var c;return e==null?eo(this,a,o).year:(c=di(e,a,o),t>c&&(t=c),xA.call(this,e,t,r,a,o))}function xA(e,t,r,a,o){var c=zm(e,t,r,a,o),g=Qa(c.year,0,c.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}be("Q",0,"Qo","quarter");he("Q",Nm);st("Q",function(e,t){t[li]=(He(e)-1)*3});function SA(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}be("D",["DD",2],"Do","date");he("D",ct,ta);he("DD",ct,Ln);he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});st(["D","DD"],Pr);st("Do",function(e,t){t[Pr]=He(e.match(ct)[0])});var p0=na("Date",!0);be("DDD",["DDDD",3],"DDDo","dayOfYear");he("DDD",Il);he("DDDD",Lm);st(["DDD","DDDD"],function(e,t,r){r._dayOfYear=He(e)});function kA(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}be("m",["mm",2],0,"minute");he("m",ct,kd);he("mm",ct,Ln);st(["m","mm"],gr);var DA=na("Minutes",!1);be("s",["ss",2],0,"second");he("s",ct,kd);he("ss",ct,Ln);st(["s","ss"],ci);var CA=na("Seconds",!1);be("S",0,0,function(){return~~(this.millisecond()/100)});be(0,["SS",2],0,function(){return~~(this.millisecond()/10)});be(0,["SSS",3],0,"millisecond");be(0,["SSSS",4],0,function(){return this.millisecond()*10});be(0,["SSSSS",5],0,function(){return this.millisecond()*100});be(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});be(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});be(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});be(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});he("S",Il,Nm);he("SS",Il,Ln);he("SSS",Il,Lm);var Fi,g0;for(Fi="SSSS";Fi.length<=9;Fi+="S")he(Fi,ea);function TA(e,t){t[ls]=He(("0."+e)*1e3)}for(Fi="S";Fi.length<=9;Fi+="S")st(Fi,TA);g0=na("Milliseconds",!1);be("z",0,0,"zoneAbbr");be("zz",0,0,"zoneName");function EA(){return this._isUTC?"UTC":""}function MA(){return this._isUTC?"Coordinated Universal Time":""}var te=co.prototype;te.add=wM;te.calendar=EM;te.clone=MM;te.diff=LM;te.endOf=zM;te.format=WM;te.from=BM;te.fromNow=HM;te.to=jM;te.toNow=UM;te.get=YT;te.invalidAt=tA;te.isAfter=AM;te.isBefore=OM;te.isBetween=IM;te.isSame=RM;te.isSameOrAfter=PM;te.isSameOrBefore=NM;te.isValid=QM;te.lang=u0;te.locale=o0;te.localeData=l0;te.max=QE;te.min=JE;te.parsingFlags=eA;te.set=WT;te.startOf=qM;te.subtract=xM;te.toArray=XM;te.toObject=ZM;te.toDate=KM;te.toISOString=FM;te.inspect=YM;typeof Symbol<"u"&&Symbol.for!=null&&(te[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});te.toJSON=JM;te.toString=$M;te.unix=GM;te.valueOf=VM;te.creationData=nA;te.eraName=aA;te.eraNarrow=oA;te.eraAbbr=uA;te.eraYear=lA;te.year=Ym;te.isLeapYear=FT;te.weekYear=mA;te.isoWeekYear=yA;te.quarter=te.quarters=SA;te.month=Um;te.daysInMonth=KT;te.week=te.weeks=rE;te.isoWeek=te.isoWeeks=iE;te.weeksInYear=_A;te.weeksInWeekYear=wA;te.isoWeeksInYear=vA;te.isoWeeksInISOWeekYear=bA;te.date=p0;te.day=te.days=yE;te.weekday=vE;te.isoWeekday=bE;te.dayOfYear=kA;te.hour=te.hours=CE;te.minute=te.minutes=DA;te.second=te.seconds=CA;te.millisecond=te.milliseconds=g0;te.utcOffset=uM;te.utc=cM;te.local=fM;te.parseZone=dM;te.hasAlignedHourOffset=hM;te.isDST=pM;te.isLocal=mM;te.isUtcOffset=yM;te.isUtc=r0;te.isUTC=r0;te.zoneAbbr=EA;te.zoneName=MA;te.dates=rr("dates accessor is deprecated. Use date instead.",p0);te.months=rr("months accessor is deprecated. Use month instead",Um);te.years=rr("years accessor is deprecated. Use year instead",Ym);te.zone=rr("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",lM);te.isDSTShifted=rr("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",gM);function AA(e){return lt(e*1e3)}function OA(){return lt.apply(null,arguments).parseZone()}function m0(e){return e}var Ke=bd.prototype;Ke.calendar=mT;Ke.longDateFormat=_T;Ke.invalidDate=xT;Ke.ordinal=DT;Ke.preparse=m0;Ke.postformat=m0;Ke.relativeTime=TT;Ke.pastFuture=ET;Ke.set=pT;Ke.eras=rA;Ke.erasParse=iA;Ke.erasConvertYear=sA;Ke.erasAbbrRegex=fA;Ke.erasNameRegex=cA;Ke.erasNarrowRegex=dA;Ke.months=qT;Ke.monthsShort=zT;Ke.monthsParse=GT;Ke.monthsRegex=ZT;Ke.monthsShortRegex=XT;Ke.week=QT;Ke.firstDayOfYear=nE;Ke.firstDayOfWeek=tE;Ke.weekdays=dE;Ke.weekdaysMin=pE;Ke.weekdaysShort=hE;Ke.weekdaysParse=mE;Ke.weekdaysRegex=_E;Ke.weekdaysShortRegex=wE;Ke.weekdaysMinRegex=xE;Ke.isPM=kE;Ke.meridiem=TE;function qu(e,t,r,a){var o=mi(),c=Wr().set(a,t);return o[r](c,e)}function y0(e,t,r){if(gi(e)&&(t=e,e=void 0),e=e||"",t!=null)return qu(e,t,r,"month");var a,o=[];for(a=0;a<12;a++)o[a]=qu(e,a,r,"month");return o}function $d(e,t,r,a){typeof e=="boolean"?(gi(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,gi(t)&&(r=t,t=void 0),t=t||"");var o=mi(),c=e?o._week.dow:0,g,w=[];if(r!=null)return qu(t,(r+c)%7,a,"day");for(g=0;g<7;g++)w[g]=qu(t,(g+c)%7,a,"day");return w}function IA(e,t){return y0(e,t,"months")}function RA(e,t){return y0(e,t,"monthsShort")}function PA(e,t,r){return $d(e,t,r,"weekdays")}function NA(e,t,r){return $d(e,t,r,"weekdaysShort")}function LA(e,t,r){return $d(e,t,r,"weekdaysMin")}Yi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=He(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});oe.lang=rr("moment.lang is deprecated. Use moment.locale instead.",Yi);oe.langData=rr("moment.langData is deprecated. Use moment.localeData instead.",mi);var ai=Math.abs;function $A(){var e=this._data;return this._milliseconds=ai(this._milliseconds),this._days=ai(this._days),this._months=ai(this._months),e.milliseconds=ai(e.milliseconds),e.seconds=ai(e.seconds),e.minutes=ai(e.minutes),e.hours=ai(e.hours),e.months=ai(e.months),e.years=ai(e.years),this}function v0(e,t,r,a){var o=vr(t,r);return e._milliseconds+=a*o._milliseconds,e._days+=a*o._days,e._months+=a*o._months,e._bubble()}function FA(e,t){return v0(this,e,t,1)}function YA(e,t){return v0(this,e,t,-1)}function bg(e){return e<0?Math.floor(e):Math.ceil(e)}function WA(){var e=this._milliseconds,t=this._days,r=this._months,a=this._data,o,c,g,w,k;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=bg(Yf(r)+t)*864e5,t=0,r=0),a.milliseconds=e%1e3,o=Qn(e/1e3),a.seconds=o%60,c=Qn(o/60),a.minutes=c%60,g=Qn(c/60),a.hours=g%24,t+=Qn(g/24),k=Qn(b0(t)),r+=k,t-=bg(Yf(k)),w=Qn(r/12),r%=12,a.days=t,a.months=r,a.years=w,this}function b0(e){return e*4800/146097}function Yf(e){return e*146097/4800}function BA(e){if(!this.isValid())return NaN;var t,r,a=this._milliseconds;if(e=ir(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+a/864e5,r=this._months+b0(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Yf(this._months)),e){case"week":return t/7+a/6048e5;case"day":return t+a/864e5;case"hour":return t*24+a/36e5;case"minute":return t*1440+a/6e4;case"second":return t*86400+a/1e3;case"millisecond":return Math.floor(t*864e5)+a;default:throw new Error("Unknown unit "+e)}}function yi(e){return function(){return this.as(e)}}var _0=yi("ms"),HA=yi("s"),jA=yi("m"),UA=yi("h"),qA=yi("d"),zA=yi("w"),VA=yi("M"),GA=yi("Q"),KA=yi("y"),XA=_0;function ZA(){return vr(this)}function JA(e){return e=ir(e),this.isValid()?this[e+"s"]():NaN}function ys(e){return function(){return this.isValid()?this._data[e]:NaN}}var QA=ys("milliseconds"),eO=ys("seconds"),tO=ys("minutes"),nO=ys("hours"),rO=ys("days"),iO=ys("months"),sO=ys("years");function aO(){return Qn(this.days()/7)}var oi=Math.round,Us={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function oO(e,t,r,a,o){return o.relativeTime(t||1,!!r,e,a)}function uO(e,t,r,a){var o=vr(e).abs(),c=oi(o.as("s")),g=oi(o.as("m")),w=oi(o.as("h")),k=oi(o.as("d")),E=oi(o.as("M")),P=oi(o.as("w")),W=oi(o.as("y")),j=c<=r.ss&&["s",c]||c<r.s&&["ss",c]||g<=1&&["m"]||g<r.m&&["mm",g]||w<=1&&["h"]||w<r.h&&["hh",w]||k<=1&&["d"]||k<r.d&&["dd",k];return r.w!=null&&(j=j||P<=1&&["w"]||P<r.w&&["ww",P]),j=j||E<=1&&["M"]||E<r.M&&["MM",E]||W<=1&&["y"]||["yy",W],j[2]=t,j[3]=+e>0,j[4]=a,oO.apply(null,j)}function lO(e){return e===void 0?oi:typeof e=="function"?(oi=e,!0):!1}function cO(e,t){return Us[e]===void 0?!1:t===void 0?Us[e]:(Us[e]=t,e==="s"&&(Us.ss=t-1),!0)}function fO(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,a=Us,o,c;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(a=Object.assign({},Us,t),t.s!=null&&t.ss==null&&(a.ss=t.s-1)),o=this.localeData(),c=uO(this,!r,a,o),r&&(c=o.pastFuture(+this,c)),o.postformat(c)}var pf=Math.abs;function Hs(e){return(e>0)-(e<0)||+e}function Wl(){if(!this.isValid())return this.localeData().invalidDate();var e=pf(this._milliseconds)/1e3,t=pf(this._days),r=pf(this._months),a,o,c,g,w=this.asSeconds(),k,E,P,W;return w?(a=Qn(e/60),o=Qn(a/60),e%=60,a%=60,c=Qn(r/12),r%=12,g=e?e.toFixed(3).replace(/\.?0+$/,""):"",k=w<0?"-":"",E=Hs(this._months)!==Hs(w)?"-":"",P=Hs(this._days)!==Hs(w)?"-":"",W=Hs(this._milliseconds)!==Hs(w)?"-":"",k+"P"+(c?E+c+"Y":"")+(r?E+r+"M":"")+(t?P+t+"D":"")+(o||a||e?"T":"")+(o?W+o+"H":"")+(a?W+a+"M":"")+(e?W+g+"S":"")):"P0D"}var qe=Fl.prototype;qe.isValid=iM;qe.abs=$A;qe.add=FA;qe.subtract=YA;qe.as=BA;qe.asMilliseconds=_0;qe.asSeconds=HA;qe.asMinutes=jA;qe.asHours=UA;qe.asDays=qA;qe.asWeeks=zA;qe.asMonths=VA;qe.asQuarters=GA;qe.asYears=KA;qe.valueOf=XA;qe._bubble=WA;qe.clone=ZA;qe.get=JA;qe.milliseconds=QA;qe.seconds=eO;qe.minutes=tO;qe.hours=nO;qe.days=rO;qe.weeks=aO;qe.months=iO;qe.years=sO;qe.humanize=fO;qe.toISOString=Wl;qe.toString=Wl;qe.toJSON=Wl;qe.locale=o0;qe.localeData=l0;qe.toIsoString=rr("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wl);qe.lang=u0;be("X",0,0,"unix");be("x",0,0,"valueOf");he("x",Pl);he("X",IT);st("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});st("x",function(e,t,r){r._d=new Date(He(e))});//! moment.js
|
|
130
|
+
oe.version="2.30.1";dT(lt);oe.fn=te;oe.min=eM;oe.max=tM;oe.now=nM;oe.utc=Wr;oe.unix=AA;oe.months=IA;oe.isDate=lo;oe.locale=Yi;oe.invalid=Al;oe.duration=vr;oe.isMoment=yr;oe.weekdays=PA;oe.parseZone=OA;oe.localeData=mi;oe.isDuration=Nu;oe.monthsShort=RA;oe.weekdaysMin=LA;oe.defineLocale=Md;oe.updateLocale=OE;oe.locales=IE;oe.weekdaysShort=NA;oe.normalizeUnits=ir;oe.relativeTimeRounding=lO;oe.relativeTimeThreshold=cO;oe.calendarFormat=TM;oe.prototype=te;oe.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const dO=Object.freeze(Object.defineProperty({__proto__:null,default:oe},Symbol.toStringTag,{value:"Module"}));var gf={exports:{}};/*!
|
|
131
|
+
* jQuery JavaScript Library v3.7.1
|
|
132
|
+
* https://jquery.com/
|
|
133
|
+
*
|
|
134
|
+
* Copyright OpenJS Foundation and other contributors
|
|
135
|
+
* Released under the MIT license
|
|
136
|
+
* https://jquery.org/license
|
|
137
|
+
*
|
|
138
|
+
* Date: 2023-08-28T13:37Z
|
|
139
|
+
*/var _g;function w0(){return _g||(_g=1,function(e){(function(t,r){e.exports=t.document?r(t,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return r(a)}})(typeof window<"u"?window:J.commonjsGlobal,function(t,r){var a=[],o=Object.getPrototypeOf,c=a.slice,g=a.flat?function(s){return a.flat.call(s)}:function(s){return a.concat.apply([],s)},w=a.push,k=a.indexOf,E={},P=E.toString,W=E.hasOwnProperty,j=W.toString,G=j.call(Object),U={},$=function(l){return typeof l=="function"&&typeof l.nodeType!="number"&&typeof l.item!="function"},ne=function(l){return l!=null&&l===l.window},H=t.document,pe={type:!0,src:!0,nonce:!0,noModule:!0};function me(s,l,f){f=f||H;var p,m,y=f.createElement("script");if(y.text=s,l)for(p in pe)m=l[p]||l.getAttribute&&l.getAttribute(p),m&&y.setAttribute(p,m);f.head.appendChild(y).parentNode.removeChild(y)}function ye(s){return s==null?s+"":typeof s=="object"||typeof s=="function"?E[P.call(s)]||"object":typeof s}var re="3.7.1",ie=/HTML$/i,d=function(s,l){return new d.fn.init(s,l)};d.fn=d.prototype={jquery:re,constructor:d,length:0,toArray:function(){return c.call(this)},get:function(s){return s==null?c.call(this):s<0?this[s+this.length]:this[s]},pushStack:function(s){var l=d.merge(this.constructor(),s);return l.prevObject=this,l},each:function(s){return d.each(this,s)},map:function(s){return this.pushStack(d.map(this,function(l,f){return s.call(l,f,l)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(d.grep(this,function(s,l){return(l+1)%2}))},odd:function(){return this.pushStack(d.grep(this,function(s,l){return l%2}))},eq:function(s){var l=this.length,f=+s+(s<0?l:0);return this.pushStack(f>=0&&f<l?[this[f]]:[])},end:function(){return this.prevObject||this.constructor()},push:w,sort:a.sort,splice:a.splice},d.extend=d.fn.extend=function(){var s,l,f,p,m,y,b=arguments[0]||{},M=1,C=arguments.length,N=!1;for(typeof b=="boolean"&&(N=b,b=arguments[M]||{},M++),typeof b!="object"&&!$(b)&&(b={}),M===C&&(b=this,M--);M<C;M++)if((s=arguments[M])!=null)for(l in s)p=s[l],!(l==="__proto__"||b===p)&&(N&&p&&(d.isPlainObject(p)||(m=Array.isArray(p)))?(f=b[l],m&&!Array.isArray(f)?y=[]:!m&&!d.isPlainObject(f)?y={}:y=f,m=!1,b[l]=d.extend(N,y,p)):p!==void 0&&(b[l]=p));return b},d.extend({expando:"jQuery"+(re+Math.random()).replace(/\D/g,""),isReady:!0,error:function(s){throw new Error(s)},noop:function(){},isPlainObject:function(s){var l,f;return!s||P.call(s)!=="[object Object]"?!1:(l=o(s),l?(f=W.call(l,"constructor")&&l.constructor,typeof f=="function"&&j.call(f)===G):!0)},isEmptyObject:function(s){var l;for(l in s)return!1;return!0},globalEval:function(s,l,f){me(s,{nonce:l&&l.nonce},f)},each:function(s,l){var f,p=0;if(Le(s))for(f=s.length;p<f&&l.call(s[p],p,s[p])!==!1;p++);else for(p in s)if(l.call(s[p],p,s[p])===!1)break;return s},text:function(s){var l,f="",p=0,m=s.nodeType;if(!m)for(;l=s[p++];)f+=d.text(l);return m===1||m===11?s.textContent:m===9?s.documentElement.textContent:m===3||m===4?s.nodeValue:f},makeArray:function(s,l){var f=l||[];return s!=null&&(Le(Object(s))?d.merge(f,typeof s=="string"?[s]:s):w.call(f,s)),f},inArray:function(s,l,f){return l==null?-1:k.call(l,s,f)},isXMLDoc:function(s){var l=s&&s.namespaceURI,f=s&&(s.ownerDocument||s).documentElement;return!ie.test(l||f&&f.nodeName||"HTML")},merge:function(s,l){for(var f=+l.length,p=0,m=s.length;p<f;p++)s[m++]=l[p];return s.length=m,s},grep:function(s,l,f){for(var p,m=[],y=0,b=s.length,M=!f;y<b;y++)p=!l(s[y],y),p!==M&&m.push(s[y]);return m},map:function(s,l,f){var p,m,y=0,b=[];if(Le(s))for(p=s.length;y<p;y++)m=l(s[y],y,f),m!=null&&b.push(m);else for(y in s)m=l(s[y],y,f),m!=null&&b.push(m);return g(b)},guid:1,support:U}),typeof Symbol=="function"&&(d.fn[Symbol.iterator]=a[Symbol.iterator]),d.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(s,l){E["[object "+l+"]"]=l.toLowerCase()});function Le(s){var l=!!s&&"length"in s&&s.length,f=ye(s);return $(s)||ne(s)?!1:f==="array"||l===0||typeof l=="number"&&l>0&&l-1 in s}function le(s,l){return s.nodeName&&s.nodeName.toLowerCase()===l.toLowerCase()}var at=a.pop,Ue=a.sort,Je=a.splice,xe="[\\x20\\t\\r\\n\\f]",ot=new RegExp("^"+xe+"+|((?:^|[^\\\\])(?:\\\\.)*)"+xe+"+$","g");d.contains=function(s,l){var f=l&&l.parentNode;return s===f||!!(f&&f.nodeType===1&&(s.contains?s.contains(f):s.compareDocumentPosition&&s.compareDocumentPosition(f)&16))};var _t=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Et(s,l){return l?s==="\0"?"�":s.slice(0,-1)+"\\"+s.charCodeAt(s.length-1).toString(16)+" ":"\\"+s}d.escapeSelector=function(s){return(s+"").replace(_t,Et)};var ze=H,Ye=w;(function(){var s,l,f,p,m,y=Ye,b,M,C,N,q,z=d.expando,Y=0,ee=0,ue=Zi(),Ee=Zi(),Te=Zi(),At=Zi(),gt=function(D,R){return D===R&&(m=!0),0},Bn="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Hn="(?:\\\\[\\da-fA-F]{1,6}"+xe+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",$e="\\["+xe+"*("+Hn+")(?:"+xe+"*([*^$|!~]?=)"+xe+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Hn+"))|)"+xe+"*\\]",Dr=":("+Hn+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+$e+")*)|.*)\\)|)",Fe=new RegExp(xe+"+","g"),tt=new RegExp("^"+xe+"*,"+xe+"*"),Gi=new RegExp("^"+xe+"*([>+~]|"+xe+")"+xe+"*"),Cs=new RegExp(xe+"|>"),Cn=new RegExp(Dr),Kr=new RegExp("^"+Hn+"$"),mn={ID:new RegExp("^#("+Hn+")"),CLASS:new RegExp("^\\.("+Hn+")"),TAG:new RegExp("^("+Hn+"|[*])"),ATTR:new RegExp("^"+$e),PSEUDO:new RegExp("^"+Dr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+xe+"*(even|odd|(([+-]|)(\\d*)n|)"+xe+"*(?:([+-]|)"+xe+"*(\\d+)|))"+xe+"*\\)|)","i"),bool:new RegExp("^(?:"+Bn+")$","i"),needsContext:new RegExp("^"+xe+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+xe+"*((?:-\\d)?\\d*)"+xe+"*\\)|)(?=[^-]|$)","i")},lr=/^(?:input|select|textarea|button)$/i,Cr=/^h\d$/i,Zt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ki=/[+~]/,cr=new RegExp("\\\\[\\da-fA-F]{1,6}"+xe+"?|\\\\([^\\r\\n\\f])","g"),jn=function(D,R){var F="0x"+D.slice(1)-65536;return R||(F<0?String.fromCharCode(F+65536):String.fromCharCode(F>>10|55296,F&1023|56320))},nn=function(){Tr()},Sa=Xr(function(D){return D.disabled===!0&&le(D,"fieldset")},{dir:"parentNode",next:"legend"});function Xi(){try{return b.activeElement}catch{}}try{y.apply(a=c.call(ze.childNodes),ze.childNodes),a[ze.childNodes.length].nodeType}catch{y={apply:function(R,F){Ye.apply(R,c.call(F))},call:function(R){Ye.apply(R,c.call(arguments,1))}}}function Ve(D,R,F,B){var S,O,A,V,K,fe,de,ae=R&&R.ownerDocument,Ae=R?R.nodeType:9;if(F=F||[],typeof D!="string"||!D||Ae!==1&&Ae!==9&&Ae!==11)return F;if(!B&&(Tr(R),R=R||b,C)){if(Ae!==11&&(K=Zt.exec(D)))if(S=K[1]){if(Ae===9)if(A=R.getElementById(S)){if(A.id===S)return y.call(F,A),F}else return F;else if(ae&&(A=ae.getElementById(S))&&Ve.contains(R,A)&&A.id===S)return y.call(F,A),F}else{if(K[2])return y.apply(F,R.getElementsByTagName(D)),F;if((S=K[3])&&R.getElementsByClassName)return y.apply(F,R.getElementsByClassName(S)),F}if(!At[D+" "]&&(!N||!N.test(D))){if(de=D,ae=R,Ae===1&&(Cs.test(D)||Gi.test(D))){for(ae=Ki.test(D)&&ka(R.parentNode)||R,(ae!=R||!U.scope)&&((V=R.getAttribute("id"))?V=d.escapeSelector(V):R.setAttribute("id",V=z)),fe=Mi(D),O=fe.length;O--;)fe[O]=(V?"#"+V:":scope")+" "+En(fe[O]);de=fe.join(",")}try{return y.apply(F,ae.querySelectorAll(de)),F}catch{At(D,!0)}finally{V===z&&R.removeAttribute("id")}}}return Uo(D.replace(ot,"$1"),R,F,B)}function Zi(){var D=[];function R(F,B){return D.push(F+" ")>l.cacheLength&&delete R[D.shift()],R[F+" "]=B}return R}function Tn(D){return D[z]=!0,D}function Ei(D){var R=b.createElement("fieldset");try{return!!D(R)}catch{return!1}finally{R.parentNode&&R.parentNode.removeChild(R),R=null}}function fc(D){return function(R){return le(R,"input")&&R.type===D}}function dc(D){return function(R){return(le(R,"input")||le(R,"button"))&&R.type===D}}function Ho(D){return function(R){return"form"in R?R.parentNode&&R.disabled===!1?"label"in R?"label"in R.parentNode?R.parentNode.disabled===D:R.disabled===D:R.isDisabled===D||R.isDisabled!==!D&&Sa(R)===D:R.disabled===D:"label"in R?R.disabled===D:!1}}function yn(D){return Tn(function(R){return R=+R,Tn(function(F,B){for(var S,O=D([],F.length,R),A=O.length;A--;)F[S=O[A]]&&(F[S]=!(B[S]=F[S]))})})}function ka(D){return D&&typeof D.getElementsByTagName<"u"&&D}function Tr(D){var R,F=D?D.ownerDocument||D:ze;return F==b||F.nodeType!==9||!F.documentElement||(b=F,M=b.documentElement,C=!d.isXMLDoc(b),q=M.matches||M.webkitMatchesSelector||M.msMatchesSelector,M.msMatchesSelector&&ze!=b&&(R=b.defaultView)&&R.top!==R&&R.addEventListener("unload",nn),U.getById=Ei(function(B){return M.appendChild(B).id=d.expando,!b.getElementsByName||!b.getElementsByName(d.expando).length}),U.disconnectedMatch=Ei(function(B){return q.call(B,"*")}),U.scope=Ei(function(){return b.querySelectorAll(":scope")}),U.cssHas=Ei(function(){try{return b.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),U.getById?(l.filter.ID=function(B){var S=B.replace(cr,jn);return function(O){return O.getAttribute("id")===S}},l.find.ID=function(B,S){if(typeof S.getElementById<"u"&&C){var O=S.getElementById(B);return O?[O]:[]}}):(l.filter.ID=function(B){var S=B.replace(cr,jn);return function(O){var A=typeof O.getAttributeNode<"u"&&O.getAttributeNode("id");return A&&A.value===S}},l.find.ID=function(B,S){if(typeof S.getElementById<"u"&&C){var O,A,V,K=S.getElementById(B);if(K){if(O=K.getAttributeNode("id"),O&&O.value===B)return[K];for(V=S.getElementsByName(B),A=0;K=V[A++];)if(O=K.getAttributeNode("id"),O&&O.value===B)return[K]}return[]}}),l.find.TAG=function(B,S){return typeof S.getElementsByTagName<"u"?S.getElementsByTagName(B):S.querySelectorAll(B)},l.find.CLASS=function(B,S){if(typeof S.getElementsByClassName<"u"&&C)return S.getElementsByClassName(B)},N=[],Ei(function(B){var S;M.appendChild(B).innerHTML="<a id='"+z+"' href='' disabled='disabled'></a><select id='"+z+"-\r\\' disabled='disabled'><option selected=''></option></select>",B.querySelectorAll("[selected]").length||N.push("\\["+xe+"*(?:value|"+Bn+")"),B.querySelectorAll("[id~="+z+"-]").length||N.push("~="),B.querySelectorAll("a#"+z+"+*").length||N.push(".#.+[+~]"),B.querySelectorAll(":checked").length||N.push(":checked"),S=b.createElement("input"),S.setAttribute("type","hidden"),B.appendChild(S).setAttribute("name","D"),M.appendChild(B).disabled=!0,B.querySelectorAll(":disabled").length!==2&&N.push(":enabled",":disabled"),S=b.createElement("input"),S.setAttribute("name",""),B.appendChild(S),B.querySelectorAll("[name='']").length||N.push("\\["+xe+"*name"+xe+"*="+xe+`*(?:''|"")`)}),U.cssHas||N.push(":has"),N=N.length&&new RegExp(N.join("|")),gt=function(B,S){if(B===S)return m=!0,0;var O=!B.compareDocumentPosition-!S.compareDocumentPosition;return O||(O=(B.ownerDocument||B)==(S.ownerDocument||S)?B.compareDocumentPosition(S):1,O&1||!U.sortDetached&&S.compareDocumentPosition(B)===O?B===b||B.ownerDocument==ze&&Ve.contains(ze,B)?-1:S===b||S.ownerDocument==ze&&Ve.contains(ze,S)?1:p?k.call(p,B)-k.call(p,S):0:O&4?-1:1)}),b}Ve.matches=function(D,R){return Ve(D,null,null,R)},Ve.matchesSelector=function(D,R){if(Tr(D),C&&!At[R+" "]&&(!N||!N.test(R)))try{var F=q.call(D,R);if(F||U.disconnectedMatch||D.document&&D.document.nodeType!==11)return F}catch{At(R,!0)}return Ve(R,b,null,[D]).length>0},Ve.contains=function(D,R){return(D.ownerDocument||D)!=b&&Tr(D),d.contains(D,R)},Ve.attr=function(D,R){(D.ownerDocument||D)!=b&&Tr(D);var F=l.attrHandle[R.toLowerCase()],B=F&&W.call(l.attrHandle,R.toLowerCase())?F(D,R,!C):void 0;return B!==void 0?B:D.getAttribute(R)},Ve.error=function(D){throw new Error("Syntax error, unrecognized expression: "+D)},d.uniqueSort=function(D){var R,F=[],B=0,S=0;if(m=!U.sortStable,p=!U.sortStable&&c.call(D,0),Ue.call(D,gt),m){for(;R=D[S++];)R===D[S]&&(B=F.push(S));for(;B--;)Je.call(D,F[B],1)}return p=null,D},d.fn.uniqueSort=function(){return this.pushStack(d.uniqueSort(c.apply(this)))},l=d.expr={cacheLength:50,createPseudo:Tn,match:mn,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(D){return D[1]=D[1].replace(cr,jn),D[3]=(D[3]||D[4]||D[5]||"").replace(cr,jn),D[2]==="~="&&(D[3]=" "+D[3]+" "),D.slice(0,4)},CHILD:function(D){return D[1]=D[1].toLowerCase(),D[1].slice(0,3)==="nth"?(D[3]||Ve.error(D[0]),D[4]=+(D[4]?D[5]+(D[6]||1):2*(D[3]==="even"||D[3]==="odd")),D[5]=+(D[7]+D[8]||D[3]==="odd")):D[3]&&Ve.error(D[0]),D},PSEUDO:function(D){var R,F=!D[6]&&D[2];return mn.CHILD.test(D[0])?null:(D[3]?D[2]=D[4]||D[5]||"":F&&Cn.test(F)&&(R=Mi(F,!0))&&(R=F.indexOf(")",F.length-R)-F.length)&&(D[0]=D[0].slice(0,R),D[2]=F.slice(0,R)),D.slice(0,3))}},filter:{TAG:function(D){var R=D.replace(cr,jn).toLowerCase();return D==="*"?function(){return!0}:function(F){return le(F,R)}},CLASS:function(D){var R=ue[D+" "];return R||(R=new RegExp("(^|"+xe+")"+D+"("+xe+"|$)"))&&ue(D,function(F){return R.test(typeof F.className=="string"&&F.className||typeof F.getAttribute<"u"&&F.getAttribute("class")||"")})},ATTR:function(D,R,F){return function(B){var S=Ve.attr(B,D);return S==null?R==="!=":R?(S+="",R==="="?S===F:R==="!="?S!==F:R==="^="?F&&S.indexOf(F)===0:R==="*="?F&&S.indexOf(F)>-1:R==="$="?F&&S.slice(-F.length)===F:R==="~="?(" "+S.replace(Fe," ")+" ").indexOf(F)>-1:R==="|="?S===F||S.slice(0,F.length+1)===F+"-":!1):!0}},CHILD:function(D,R,F,B,S){var O=D.slice(0,3)!=="nth",A=D.slice(-4)!=="last",V=R==="of-type";return B===1&&S===0?function(K){return!!K.parentNode}:function(K,fe,de){var ae,Ae,_e,Pe,Ot,Yt=O!==A?"nextSibling":"previousSibling",It=K.parentNode,sn=V&&K.nodeName.toLowerCase(),fr=!de&&!V,Ce=!1;if(It){if(O){for(;Yt;){for(_e=K;_e=_e[Yt];)if(V?le(_e,sn):_e.nodeType===1)return!1;Ot=Yt=D==="only"&&!Ot&&"nextSibling"}return!0}if(Ot=[A?It.firstChild:It.lastChild],A&&fr){for(Ae=It[z]||(It[z]={}),ae=Ae[D]||[],Pe=ae[0]===Y&&ae[1],Ce=Pe&&ae[2],_e=Pe&&It.childNodes[Pe];_e=++Pe&&_e&&_e[Yt]||(Ce=Pe=0)||Ot.pop();)if(_e.nodeType===1&&++Ce&&_e===K){Ae[D]=[Y,Pe,Ce];break}}else if(fr&&(Ae=K[z]||(K[z]={}),ae=Ae[D]||[],Pe=ae[0]===Y&&ae[1],Ce=Pe),Ce===!1)for(;(_e=++Pe&&_e&&_e[Yt]||(Ce=Pe=0)||Ot.pop())&&!((V?le(_e,sn):_e.nodeType===1)&&++Ce&&(fr&&(Ae=_e[z]||(_e[z]={}),Ae[D]=[Y,Ce]),_e===K)););return Ce-=S,Ce===B||Ce%B===0&&Ce/B>=0}}},PSEUDO:function(D,R){var F,B=l.pseudos[D]||l.setFilters[D.toLowerCase()]||Ve.error("unsupported pseudo: "+D);return B[z]?B(R):B.length>1?(F=[D,D,"",R],l.setFilters.hasOwnProperty(D.toLowerCase())?Tn(function(S,O){for(var A,V=B(S,R),K=V.length;K--;)A=k.call(S,V[K]),S[A]=!(O[A]=V[K])}):function(S){return B(S,0,F)}):B}},pseudos:{not:Tn(function(D){var R=[],F=[],B=Ca(D.replace(ot,"$1"));return B[z]?Tn(function(S,O,A,V){for(var K,fe=B(S,null,V,[]),de=S.length;de--;)(K=fe[de])&&(S[de]=!(O[de]=K))}):function(S,O,A){return R[0]=S,B(R,null,A,F),R[0]=null,!F.pop()}}),has:Tn(function(D){return function(R){return Ve(D,R).length>0}}),contains:Tn(function(D){return D=D.replace(cr,jn),function(R){return(R.textContent||d.text(R)).indexOf(D)>-1}}),lang:Tn(function(D){return Kr.test(D||"")||Ve.error("unsupported lang: "+D),D=D.replace(cr,jn).toLowerCase(),function(R){var F;do if(F=C?R.lang:R.getAttribute("xml:lang")||R.getAttribute("lang"))return F=F.toLowerCase(),F===D||F.indexOf(D+"-")===0;while((R=R.parentNode)&&R.nodeType===1);return!1}}),target:function(D){var R=t.location&&t.location.hash;return R&&R.slice(1)===D.id},root:function(D){return D===M},focus:function(D){return D===Xi()&&b.hasFocus()&&!!(D.type||D.href||~D.tabIndex)},enabled:Ho(!1),disabled:Ho(!0),checked:function(D){return le(D,"input")&&!!D.checked||le(D,"option")&&!!D.selected},selected:function(D){return D.parentNode&&D.parentNode.selectedIndex,D.selected===!0},empty:function(D){for(D=D.firstChild;D;D=D.nextSibling)if(D.nodeType<6)return!1;return!0},parent:function(D){return!l.pseudos.empty(D)},header:function(D){return Cr.test(D.nodeName)},input:function(D){return lr.test(D.nodeName)},button:function(D){return le(D,"input")&&D.type==="button"||le(D,"button")},text:function(D){var R;return le(D,"input")&&D.type==="text"&&((R=D.getAttribute("type"))==null||R.toLowerCase()==="text")},first:yn(function(){return[0]}),last:yn(function(D,R){return[R-1]}),eq:yn(function(D,R,F){return[F<0?F+R:F]}),even:yn(function(D,R){for(var F=0;F<R;F+=2)D.push(F);return D}),odd:yn(function(D,R){for(var F=1;F<R;F+=2)D.push(F);return D}),lt:yn(function(D,R,F){var B;for(F<0?B=F+R:F>R?B=R:B=F;--B>=0;)D.push(B);return D}),gt:yn(function(D,R,F){for(var B=F<0?F+R:F;++B<R;)D.push(B);return D})}},l.pseudos.nth=l.pseudos.eq;for(s in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})l.pseudos[s]=fc(s);for(s in{submit:!0,reset:!0})l.pseudos[s]=dc(s);function Ts(){}Ts.prototype=l.filters=l.pseudos,l.setFilters=new Ts;function Mi(D,R){var F,B,S,O,A,V,K,fe=Ee[D+" "];if(fe)return R?0:fe.slice(0);for(A=D,V=[],K=l.preFilter;A;){(!F||(B=tt.exec(A)))&&(B&&(A=A.slice(B[0].length)||A),V.push(S=[])),F=!1,(B=Gi.exec(A))&&(F=B.shift(),S.push({value:F,type:B[0].replace(ot," ")}),A=A.slice(F.length));for(O in l.filter)(B=mn[O].exec(A))&&(!K[O]||(B=K[O](B)))&&(F=B.shift(),S.push({value:F,type:O,matches:B}),A=A.slice(F.length));if(!F)break}return R?A.length:A?Ve.error(D):Ee(D,V).slice(0)}function En(D){for(var R=0,F=D.length,B="";R<F;R++)B+=D[R].value;return B}function Xr(D,R,F){var B=R.dir,S=R.next,O=S||B,A=F&&O==="parentNode",V=ee++;return R.first?function(K,fe,de){for(;K=K[B];)if(K.nodeType===1||A)return D(K,fe,de);return!1}:function(K,fe,de){var ae,Ae,_e=[Y,V];if(de){for(;K=K[B];)if((K.nodeType===1||A)&&D(K,fe,de))return!0}else for(;K=K[B];)if(K.nodeType===1||A)if(Ae=K[z]||(K[z]={}),S&&le(K,S))K=K[B]||K;else{if((ae=Ae[O])&&ae[0]===Y&&ae[1]===V)return _e[2]=ae[2];if(Ae[O]=_e,_e[2]=D(K,fe,de))return!0}return!1}}function Da(D){return D.length>1?function(R,F,B){for(var S=D.length;S--;)if(!D[S](R,F,B))return!1;return!0}:D[0]}function hc(D,R,F){for(var B=0,S=R.length;B<S;B++)Ve(D,R[B],F);return F}function Es(D,R,F,B,S){for(var O,A=[],V=0,K=D.length,fe=R!=null;V<K;V++)(O=D[V])&&(!F||F(O,B,S))&&(A.push(O),fe&&R.push(V));return A}function Er(D,R,F,B,S,O){return B&&!B[z]&&(B=Er(B)),S&&!S[z]&&(S=Er(S,O)),Tn(function(A,V,K,fe){var de,ae,Ae,_e,Pe=[],Ot=[],Yt=V.length,It=A||hc(R||"*",K.nodeType?[K]:K,[]),sn=D&&(A||!R)?Es(It,Pe,D,K,fe):It;if(F?(_e=S||(A?D:Yt||B)?[]:V,F(sn,_e,K,fe)):_e=sn,B)for(de=Es(_e,Ot),B(de,[],K,fe),ae=de.length;ae--;)(Ae=de[ae])&&(_e[Ot[ae]]=!(sn[Ot[ae]]=Ae));if(A){if(S||D){if(S){for(de=[],ae=_e.length;ae--;)(Ae=_e[ae])&&de.push(sn[ae]=Ae);S(null,_e=[],de,fe)}for(ae=_e.length;ae--;)(Ae=_e[ae])&&(de=S?k.call(A,Ae):Pe[ae])>-1&&(A[de]=!(V[de]=Ae))}}else _e=Es(_e===V?_e.splice(Yt,_e.length):_e),S?S(null,V,_e,fe):y.apply(V,_e)})}function rn(D){for(var R,F,B,S=D.length,O=l.relative[D[0].type],A=O||l.relative[" "],V=O?1:0,K=Xr(function(ae){return ae===R},A,!0),fe=Xr(function(ae){return k.call(R,ae)>-1},A,!0),de=[function(ae,Ae,_e){var Pe=!O&&(_e||Ae!=f)||((R=Ae).nodeType?K(ae,Ae,_e):fe(ae,Ae,_e));return R=null,Pe}];V<S;V++)if(F=l.relative[D[V].type])de=[Xr(Da(de),F)];else{if(F=l.filter[D[V].type].apply(null,D[V].matches),F[z]){for(B=++V;B<S&&!l.relative[D[B].type];B++);return Er(V>1&&Da(de),V>1&&En(D.slice(0,V-1).concat({value:D[V-2].type===" "?"*":""})).replace(ot,"$1"),F,V<B&&rn(D.slice(V,B)),B<S&&rn(D=D.slice(B)),B<S&&En(D))}de.push(F)}return Da(de)}function jo(D,R){var F=R.length>0,B=D.length>0,S=function(O,A,V,K,fe){var de,ae,Ae,_e=0,Pe="0",Ot=O&&[],Yt=[],It=f,sn=O||B&&l.find.TAG("*",fe),fr=Y+=It==null?1:Math.random()||.1,Ce=sn.length;for(fe&&(f=A==b||A||fe);Pe!==Ce&&(de=sn[Pe])!=null;Pe++){if(B&&de){for(ae=0,!A&&de.ownerDocument!=b&&(Tr(de),V=!C);Ae=D[ae++];)if(Ae(de,A||b,V)){y.call(K,de);break}fe&&(Y=fr)}F&&((de=!Ae&&de)&&_e--,O&&Ot.push(de))}if(_e+=Pe,F&&Pe!==_e){for(ae=0;Ae=R[ae++];)Ae(Ot,Yt,A,V);if(O){if(_e>0)for(;Pe--;)Ot[Pe]||Yt[Pe]||(Yt[Pe]=at.call(K));Yt=Es(Yt)}y.apply(K,Yt),fe&&!O&&Yt.length>0&&_e+R.length>1&&d.uniqueSort(K)}return fe&&(Y=fr,f=It),Ot};return F?Tn(S):S}function Ca(D,R){var F,B=[],S=[],O=Te[D+" "];if(!O){for(R||(R=Mi(D)),F=R.length;F--;)O=rn(R[F]),O[z]?B.push(O):S.push(O);O=Te(D,jo(S,B)),O.selector=D}return O}function Uo(D,R,F,B){var S,O,A,V,K,fe=typeof D=="function"&&D,de=!B&&Mi(D=fe.selector||D);if(F=F||[],de.length===1){if(O=de[0]=de[0].slice(0),O.length>2&&(A=O[0]).type==="ID"&&R.nodeType===9&&C&&l.relative[O[1].type]){if(R=(l.find.ID(A.matches[0].replace(cr,jn),R)||[])[0],R)fe&&(R=R.parentNode);else return F;D=D.slice(O.shift().value.length)}for(S=mn.needsContext.test(D)?0:O.length;S--&&(A=O[S],!l.relative[V=A.type]);)if((K=l.find[V])&&(B=K(A.matches[0].replace(cr,jn),Ki.test(O[0].type)&&ka(R.parentNode)||R))){if(O.splice(S,1),D=B.length&&En(O),!D)return y.apply(F,B),F;break}}return(fe||Ca(D,de))(B,R,!C,F,!R||Ki.test(D)&&ka(R.parentNode)||R),F}U.sortStable=z.split("").sort(gt).join("")===z,Tr(),U.sortDetached=Ei(function(D){return D.compareDocumentPosition(b.createElement("fieldset"))&1}),d.find=Ve,d.expr[":"]=d.expr.pseudos,d.unique=d.uniqueSort,Ve.compile=Ca,Ve.select=Uo,Ve.setDocument=Tr,Ve.tokenize=Mi,Ve.escape=d.escapeSelector,Ve.getText=d.text,Ve.isXML=d.isXMLDoc,Ve.selectors=d.expr,Ve.support=d.support,Ve.uniqueSort=d.uniqueSort})();var ft=function(s,l,f){for(var p=[],m=f!==void 0;(s=s[l])&&s.nodeType!==9;)if(s.nodeType===1){if(m&&d(s).is(f))break;p.push(s)}return p},Mt=function(s,l){for(var f=[];s;s=s.nextSibling)s.nodeType===1&&s!==l&&f.push(s);return f},Nt=d.expr.match.needsContext,wt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function $n(s,l,f){return $(l)?d.grep(s,function(p,m){return!!l.call(p,m,p)!==f}):l.nodeType?d.grep(s,function(p){return p===l!==f}):typeof l!="string"?d.grep(s,function(p){return k.call(l,p)>-1!==f}):d.filter(l,s,f)}d.filter=function(s,l,f){var p=l[0];return f&&(s=":not("+s+")"),l.length===1&&p.nodeType===1?d.find.matchesSelector(p,s)?[p]:[]:d.find.matches(s,d.grep(l,function(m){return m.nodeType===1}))},d.fn.extend({find:function(s){var l,f,p=this.length,m=this;if(typeof s!="string")return this.pushStack(d(s).filter(function(){for(l=0;l<p;l++)if(d.contains(m[l],this))return!0}));for(f=this.pushStack([]),l=0;l<p;l++)d.find(s,m[l],f);return p>1?d.uniqueSort(f):f},filter:function(s){return this.pushStack($n(this,s||[],!1))},not:function(s){return this.pushStack($n(this,s||[],!0))},is:function(s){return!!$n(this,typeof s=="string"&&Nt.test(s)?d(s):s||[],!1).length}});var zt,Vt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,sr=d.fn.init=function(s,l,f){var p,m;if(!s)return this;if(f=f||zt,typeof s=="string")if(s[0]==="<"&&s[s.length-1]===">"&&s.length>=3?p=[null,s,null]:p=Vt.exec(s),p&&(p[1]||!l))if(p[1]){if(l=l instanceof d?l[0]:l,d.merge(this,d.parseHTML(p[1],l&&l.nodeType?l.ownerDocument||l:H,!0)),wt.test(p[1])&&d.isPlainObject(l))for(p in l)$(this[p])?this[p](l[p]):this.attr(p,l[p]);return this}else return m=H.getElementById(p[2]),m&&(this[0]=m,this.length=1),this;else return!l||l.jquery?(l||f).find(s):this.constructor(l).find(s);else{if(s.nodeType)return this[0]=s,this.length=1,this;if($(s))return f.ready!==void 0?f.ready(s):s(d)}return d.makeArray(s,this)};sr.prototype=d.fn,zt=d(H);var ji=/^(?:parents|prev(?:Until|All))/,Hr={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({has:function(s){var l=d(s,this),f=l.length;return this.filter(function(){for(var p=0;p<f;p++)if(d.contains(this,l[p]))return!0})},closest:function(s,l){var f,p=0,m=this.length,y=[],b=typeof s!="string"&&d(s);if(!Nt.test(s)){for(;p<m;p++)for(f=this[p];f&&f!==l;f=f.parentNode)if(f.nodeType<11&&(b?b.index(f)>-1:f.nodeType===1&&d.find.matchesSelector(f,s))){y.push(f);break}}return this.pushStack(y.length>1?d.uniqueSort(y):y)},index:function(s){return s?typeof s=="string"?k.call(d(s),this[0]):k.call(this,s.jquery?s[0]:s):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(s,l){return this.pushStack(d.uniqueSort(d.merge(this.get(),d(s,l))))},addBack:function(s){return this.add(s==null?this.prevObject:this.prevObject.filter(s))}});function Lt(s,l){for(;(s=s[l])&&s.nodeType!==1;);return s}d.each({parent:function(s){var l=s.parentNode;return l&&l.nodeType!==11?l:null},parents:function(s){return ft(s,"parentNode")},parentsUntil:function(s,l,f){return ft(s,"parentNode",f)},next:function(s){return Lt(s,"nextSibling")},prev:function(s){return Lt(s,"previousSibling")},nextAll:function(s){return ft(s,"nextSibling")},prevAll:function(s){return ft(s,"previousSibling")},nextUntil:function(s,l,f){return ft(s,"nextSibling",f)},prevUntil:function(s,l,f){return ft(s,"previousSibling",f)},siblings:function(s){return Mt((s.parentNode||{}).firstChild,s)},children:function(s){return Mt(s.firstChild)},contents:function(s){return s.contentDocument!=null&&o(s.contentDocument)?s.contentDocument:(le(s,"template")&&(s=s.content||s),d.merge([],s.childNodes))}},function(s,l){d.fn[s]=function(f,p){var m=d.map(this,l,f);return s.slice(-5)!=="Until"&&(p=f),p&&typeof p=="string"&&(m=d.filter(p,m)),this.length>1&&(Hr[s]||d.uniqueSort(m),ji.test(s)&&m.reverse()),this.pushStack(m)}});var fn=/[^\x20\t\r\n\f]+/g;function vi(s){var l={};return d.each(s.match(fn)||[],function(f,p){l[p]=!0}),l}d.Callbacks=function(s){s=typeof s=="string"?vi(s):d.extend({},s);var l,f,p,m,y=[],b=[],M=-1,C=function(){for(m=m||s.once,p=l=!0;b.length;M=-1)for(f=b.shift();++M<y.length;)y[M].apply(f[0],f[1])===!1&&s.stopOnFalse&&(M=y.length,f=!1);s.memory||(f=!1),l=!1,m&&(f?y=[]:y="")},N={add:function(){return y&&(f&&!l&&(M=y.length-1,b.push(f)),function q(z){d.each(z,function(Y,ee){$(ee)?(!s.unique||!N.has(ee))&&y.push(ee):ee&&ee.length&&ye(ee)!=="string"&&q(ee)})}(arguments),f&&!l&&C()),this},remove:function(){return d.each(arguments,function(q,z){for(var Y;(Y=d.inArray(z,y,Y))>-1;)y.splice(Y,1),Y<=M&&M--}),this},has:function(q){return q?d.inArray(q,y)>-1:y.length>0},empty:function(){return y&&(y=[]),this},disable:function(){return m=b=[],y=f="",this},disabled:function(){return!y},lock:function(){return m=b=[],!f&&!l&&(y=f=""),this},locked:function(){return!!m},fireWith:function(q,z){return m||(z=z||[],z=[q,z.slice?z.slice():z],b.push(z),l||C()),this},fire:function(){return N.fireWith(this,arguments),this},fired:function(){return!!p}};return N};function kn(s){return s}function jr(s){throw s}function Gt(s,l,f,p){var m;try{s&&$(m=s.promise)?m.call(s).done(l).fail(f):s&&$(m=s.then)?m.call(s,l,f):l.apply(void 0,[s].slice(p))}catch(y){f.apply(void 0,[y])}}d.extend({Deferred:function(s){var l=[["notify","progress",d.Callbacks("memory"),d.Callbacks("memory"),2],["resolve","done",d.Callbacks("once memory"),d.Callbacks("once memory"),0,"resolved"],["reject","fail",d.Callbacks("once memory"),d.Callbacks("once memory"),1,"rejected"]],f="pending",p={state:function(){return f},always:function(){return m.done(arguments).fail(arguments),this},catch:function(y){return p.then(null,y)},pipe:function(){var y=arguments;return d.Deferred(function(b){d.each(l,function(M,C){var N=$(y[C[4]])&&y[C[4]];m[C[1]](function(){var q=N&&N.apply(this,arguments);q&&$(q.promise)?q.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[C[0]+"With"](this,N?[q]:arguments)})}),y=null}).promise()},then:function(y,b,M){var C=0;function N(q,z,Y,ee){return function(){var ue=this,Ee=arguments,Te=function(){var gt,Bn;if(!(q<C)){if(gt=Y.apply(ue,Ee),gt===z.promise())throw new TypeError("Thenable self-resolution");Bn=gt&&(typeof gt=="object"||typeof gt=="function")&>.then,$(Bn)?ee?Bn.call(gt,N(C,z,kn,ee),N(C,z,jr,ee)):(C++,Bn.call(gt,N(C,z,kn,ee),N(C,z,jr,ee),N(C,z,kn,z.notifyWith))):(Y!==kn&&(ue=void 0,Ee=[gt]),(ee||z.resolveWith)(ue,Ee))}},At=ee?Te:function(){try{Te()}catch(gt){d.Deferred.exceptionHook&&d.Deferred.exceptionHook(gt,At.error),q+1>=C&&(Y!==jr&&(ue=void 0,Ee=[gt]),z.rejectWith(ue,Ee))}};q?At():(d.Deferred.getErrorHook?At.error=d.Deferred.getErrorHook():d.Deferred.getStackHook&&(At.error=d.Deferred.getStackHook()),t.setTimeout(At))}}return d.Deferred(function(q){l[0][3].add(N(0,q,$(M)?M:kn,q.notifyWith)),l[1][3].add(N(0,q,$(y)?y:kn)),l[2][3].add(N(0,q,$(b)?b:jr))}).promise()},promise:function(y){return y!=null?d.extend(y,p):p}},m={};return d.each(l,function(y,b){var M=b[2],C=b[5];p[b[1]]=M.add,C&&M.add(function(){f=C},l[3-y][2].disable,l[3-y][3].disable,l[0][2].lock,l[0][3].lock),M.add(b[3].fire),m[b[0]]=function(){return m[b[0]+"With"](this===m?void 0:this,arguments),this},m[b[0]+"With"]=M.fireWith}),p.promise(m),s&&s.call(m,m),m},when:function(s){var l=arguments.length,f=l,p=Array(f),m=c.call(arguments),y=d.Deferred(),b=function(M){return function(C){p[M]=this,m[M]=arguments.length>1?c.call(arguments):C,--l||y.resolveWith(p,m)}};if(l<=1&&(Gt(s,y.done(b(f)).resolve,y.reject,!l),y.state()==="pending"||$(m[f]&&m[f].then)))return y.then();for(;f--;)Gt(m[f],b(f),y.reject);return y.promise()}});var Ur=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;d.Deferred.exceptionHook=function(s,l){t.console&&t.console.warn&&s&&Ur.test(s.name)&&t.console.warn("jQuery.Deferred exception: "+s.message,s.stack,l)},d.readyException=function(s){t.setTimeout(function(){throw s})};var Ui=d.Deferred();d.fn.ready=function(s){return Ui.then(s).catch(function(l){d.readyException(l)}),this},d.extend({isReady:!1,readyWait:1,ready:function(s){(s===!0?--d.readyWait:d.isReady)||(d.isReady=!0,!(s!==!0&&--d.readyWait>0)&&Ui.resolveWith(H,[d]))}}),d.ready.then=Ui.then;function Kt(){H.removeEventListener("DOMContentLoaded",Kt),t.removeEventListener("load",Kt),d.ready()}H.readyState==="complete"||H.readyState!=="loading"&&!H.documentElement.doScroll?t.setTimeout(d.ready):(H.addEventListener("DOMContentLoaded",Kt),t.addEventListener("load",Kt));var dn=function(s,l,f,p,m,y,b){var M=0,C=s.length,N=f==null;if(ye(f)==="object"){m=!0;for(M in f)dn(s,l,M,f[M],!0,y,b)}else if(p!==void 0&&(m=!0,$(p)||(b=!0),N&&(b?(l.call(s,p),l=null):(N=l,l=function(q,z,Y){return N.call(d(q),Y)})),l))for(;M<C;M++)l(s[M],f,b?p:p.call(s[M],M,l(s[M],f)));return m?s:N?l.call(s):C?l(s[0],f):y},ia=/^-ms-/,ar=/-([a-z])/g;function Ht(s,l){return l.toUpperCase()}function $t(s){return s.replace(ia,"ms-").replace(ar,Ht)}var Fn=function(s){return s.nodeType===1||s.nodeType===9||!+s.nodeType};function Yn(){this.expando=d.expando+Yn.uid++}Yn.uid=1,Yn.prototype={cache:function(s){var l=s[this.expando];return l||(l={},Fn(s)&&(s.nodeType?s[this.expando]=l:Object.defineProperty(s,this.expando,{value:l,configurable:!0}))),l},set:function(s,l,f){var p,m=this.cache(s);if(typeof l=="string")m[$t(l)]=f;else for(p in l)m[$t(p)]=l[p];return m},get:function(s,l){return l===void 0?this.cache(s):s[this.expando]&&s[this.expando][$t(l)]},access:function(s,l,f){return l===void 0||l&&typeof l=="string"&&f===void 0?this.get(s,l):(this.set(s,l,f),f!==void 0?f:l)},remove:function(s,l){var f,p=s[this.expando];if(p!==void 0){if(l!==void 0)for(Array.isArray(l)?l=l.map($t):(l=$t(l),l=l in p?[l]:l.match(fn)||[]),f=l.length;f--;)delete p[l[f]];(l===void 0||d.isEmptyObject(p))&&(s.nodeType?s[this.expando]=void 0:delete s[this.expando])}},hasData:function(s){var l=s[this.expando];return l!==void 0&&!d.isEmptyObject(l)}};var ce=new Yn,Ft=new Yn,br=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_r=/[A-Z]/g;function De(s){return s==="true"?!0:s==="false"?!1:s==="null"?null:s===+s+""?+s:br.test(s)?JSON.parse(s):s}function qr(s,l,f){var p;if(f===void 0&&s.nodeType===1)if(p="data-"+l.replace(_r,"-$&").toLowerCase(),f=s.getAttribute(p),typeof f=="string"){try{f=De(f)}catch{}Ft.set(s,l,f)}else f=void 0;return f}d.extend({hasData:function(s){return Ft.hasData(s)||ce.hasData(s)},data:function(s,l,f){return Ft.access(s,l,f)},removeData:function(s,l){Ft.remove(s,l)},_data:function(s,l,f){return ce.access(s,l,f)},_removeData:function(s,l){ce.remove(s,l)}}),d.fn.extend({data:function(s,l){var f,p,m,y=this[0],b=y&&y.attributes;if(s===void 0){if(this.length&&(m=Ft.get(y),y.nodeType===1&&!ce.get(y,"hasDataAttrs"))){for(f=b.length;f--;)b[f]&&(p=b[f].name,p.indexOf("data-")===0&&(p=$t(p.slice(5)),qr(y,p,m[p])));ce.set(y,"hasDataAttrs",!0)}return m}return typeof s=="object"?this.each(function(){Ft.set(this,s)}):dn(this,function(M){var C;if(y&&M===void 0)return C=Ft.get(y,s),C!==void 0||(C=qr(y,s),C!==void 0)?C:void 0;this.each(function(){Ft.set(this,s,M)})},null,l,arguments.length>1,null,!0)},removeData:function(s){return this.each(function(){Ft.remove(this,s)})}}),d.extend({queue:function(s,l,f){var p;if(s)return l=(l||"fx")+"queue",p=ce.get(s,l),f&&(!p||Array.isArray(f)?p=ce.access(s,l,d.makeArray(f)):p.push(f)),p||[]},dequeue:function(s,l){l=l||"fx";var f=d.queue(s,l),p=f.length,m=f.shift(),y=d._queueHooks(s,l),b=function(){d.dequeue(s,l)};m==="inprogress"&&(m=f.shift(),p--),m&&(l==="fx"&&f.unshift("inprogress"),delete y.stop,m.call(s,b,y)),!p&&y&&y.empty.fire()},_queueHooks:function(s,l){var f=l+"queueHooks";return ce.get(s,f)||ce.access(s,f,{empty:d.Callbacks("once memory").add(function(){ce.remove(s,[l+"queue",f])})})}}),d.fn.extend({queue:function(s,l){var f=2;return typeof s!="string"&&(l=s,s="fx",f--),arguments.length<f?d.queue(this[0],s):l===void 0?this:this.each(function(){var p=d.queue(this,s,l);d._queueHooks(this,s),s==="fx"&&p[0]!=="inprogress"&&d.dequeue(this,s)})},dequeue:function(s){return this.each(function(){d.dequeue(this,s)})},clearQueue:function(s){return this.queue(s||"fx",[])},promise:function(s,l){var f,p=1,m=d.Deferred(),y=this,b=this.length,M=function(){--p||m.resolveWith(y,[y])};for(typeof s!="string"&&(l=s,s=void 0),s=s||"fx";b--;)f=ce.get(y[b],s+"queueHooks"),f&&f.empty&&(p++,f.empty.add(M));return M(),m.promise(l)}});var bi=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Wn=new RegExp("^(?:([+-])=|)("+bi+")([a-z%]*)$","i"),hn=["Top","Right","Bottom","Left"],or=H.documentElement,wr=function(s){return d.contains(s.ownerDocument,s)},sa={composed:!0};or.getRootNode&&(wr=function(s){return d.contains(s.ownerDocument,s)||s.getRootNode(sa)===s.ownerDocument});var _i=function(s,l){return s=l||s,s.style.display==="none"||s.style.display===""&&wr(s)&&d.css(s,"display")==="none"};function po(s,l,f,p){var m,y,b=20,M=p?function(){return p.cur()}:function(){return d.css(s,l,"")},C=M(),N=f&&f[3]||(d.cssNumber[l]?"":"px"),q=s.nodeType&&(d.cssNumber[l]||N!=="px"&&+C)&&Wn.exec(d.css(s,l));if(q&&q[3]!==N){for(C=C/2,N=N||q[3],q=+C||1;b--;)d.style(s,l,q+N),(1-y)*(1-(y=M()/C||.5))<=0&&(b=0),q=q/y;q=q*2,d.style(s,l,q+N),f=f||[]}return f&&(q=+q||+C||0,m=f[1]?q+(f[1]+1)*f[2]:+f[2],p&&(p.unit=N,p.start=q,p.end=m)),m}var go={};function ql(s){var l,f=s.ownerDocument,p=s.nodeName,m=go[p];return m||(l=f.body.appendChild(f.createElement(p)),m=d.css(l,"display"),l.parentNode.removeChild(l),m==="none"&&(m="block"),go[p]=m,m)}function zr(s,l){for(var f,p,m=[],y=0,b=s.length;y<b;y++)p=s[y],p.style&&(f=p.style.display,l?(f==="none"&&(m[y]=ce.get(p,"display")||null,m[y]||(p.style.display="")),p.style.display===""&&_i(p)&&(m[y]=ql(p))):f!=="none"&&(m[y]="none",ce.set(p,"display",f)));for(y=0;y<b;y++)m[y]!=null&&(s[y].style.display=m[y]);return s}d.fn.extend({show:function(){return zr(this,!0)},hide:function(){return zr(this)},toggle:function(s){return typeof s=="boolean"?s?this.show():this.hide():this.each(function(){_i(this)?d(this).show():d(this).hide()})}});var wi=/^(?:checkbox|radio)$/i,mo=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,yo=/^$|^module$|\/(?:java|ecma)script/i;(function(){var s=H.createDocumentFragment(),l=s.appendChild(H.createElement("div")),f=H.createElement("input");f.setAttribute("type","radio"),f.setAttribute("checked","checked"),f.setAttribute("name","t"),l.appendChild(f),U.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,l.innerHTML="<textarea>x</textarea>",U.noCloneChecked=!!l.cloneNode(!0).lastChild.defaultValue,l.innerHTML="<option></option>",U.option=!!l.lastChild})();var pn={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};pn.tbody=pn.tfoot=pn.colgroup=pn.caption=pn.thead,pn.th=pn.td,U.option||(pn.optgroup=pn.option=[1,"<select multiple='multiple'>","</select>"]);function Xt(s,l){var f;return typeof s.getElementsByTagName<"u"?f=s.getElementsByTagName(l||"*"):typeof s.querySelectorAll<"u"?f=s.querySelectorAll(l||"*"):f=[],l===void 0||l&&le(s,l)?d.merge([s],f):f}function vs(s,l){for(var f=0,p=s.length;f<p;f++)ce.set(s[f],"globalEval",!l||ce.get(l[f],"globalEval"))}var zl=/<|&#?\w+;/;function vo(s,l,f,p,m){for(var y,b,M,C,N,q,z=l.createDocumentFragment(),Y=[],ee=0,ue=s.length;ee<ue;ee++)if(y=s[ee],y||y===0)if(ye(y)==="object")d.merge(Y,y.nodeType?[y]:y);else if(!zl.test(y))Y.push(l.createTextNode(y));else{for(b=b||z.appendChild(l.createElement("div")),M=(mo.exec(y)||["",""])[1].toLowerCase(),C=pn[M]||pn._default,b.innerHTML=C[1]+d.htmlPrefilter(y)+C[2],q=C[0];q--;)b=b.lastChild;d.merge(Y,b.childNodes),b=z.firstChild,b.textContent=""}for(z.textContent="",ee=0;y=Y[ee++];){if(p&&d.inArray(y,p)>-1){m&&m.push(y);continue}if(N=wr(y),b=Xt(z.appendChild(y),"script"),N&&vs(b),f)for(q=0;y=b[q++];)yo.test(y.type||"")&&f.push(y)}return z}var bo=/^([^.]*)(?:\.(.+)|)/;function xr(){return!0}function xi(){return!1}function qi(s,l,f,p,m,y){var b,M;if(typeof l=="object"){typeof f!="string"&&(p=p||f,f=void 0);for(M in l)qi(s,M,f,p,l[M],y);return s}if(p==null&&m==null?(m=f,p=f=void 0):m==null&&(typeof f=="string"?(m=p,p=void 0):(m=p,p=f,f=void 0)),m===!1)m=xi;else if(!m)return s;return y===1&&(b=m,m=function(C){return d().off(C),b.apply(this,arguments)},m.guid=b.guid||(b.guid=d.guid++)),s.each(function(){d.event.add(this,l,m,p,f)})}d.event={global:{},add:function(s,l,f,p,m){var y,b,M,C,N,q,z,Y,ee,ue,Ee,Te=ce.get(s);if(Fn(s))for(f.handler&&(y=f,f=y.handler,m=y.selector),m&&d.find.matchesSelector(or,m),f.guid||(f.guid=d.guid++),(C=Te.events)||(C=Te.events=Object.create(null)),(b=Te.handle)||(b=Te.handle=function(At){return typeof d<"u"&&d.event.triggered!==At.type?d.event.dispatch.apply(s,arguments):void 0}),l=(l||"").match(fn)||[""],N=l.length;N--;)M=bo.exec(l[N])||[],ee=Ee=M[1],ue=(M[2]||"").split(".").sort(),ee&&(z=d.event.special[ee]||{},ee=(m?z.delegateType:z.bindType)||ee,z=d.event.special[ee]||{},q=d.extend({type:ee,origType:Ee,data:p,handler:f,guid:f.guid,selector:m,needsContext:m&&d.expr.match.needsContext.test(m),namespace:ue.join(".")},y),(Y=C[ee])||(Y=C[ee]=[],Y.delegateCount=0,(!z.setup||z.setup.call(s,p,ue,b)===!1)&&s.addEventListener&&s.addEventListener(ee,b)),z.add&&(z.add.call(s,q),q.handler.guid||(q.handler.guid=f.guid)),m?Y.splice(Y.delegateCount++,0,q):Y.push(q),d.event.global[ee]=!0)},remove:function(s,l,f,p,m){var y,b,M,C,N,q,z,Y,ee,ue,Ee,Te=ce.hasData(s)&&ce.get(s);if(!(!Te||!(C=Te.events))){for(l=(l||"").match(fn)||[""],N=l.length;N--;){if(M=bo.exec(l[N])||[],ee=Ee=M[1],ue=(M[2]||"").split(".").sort(),!ee){for(ee in C)d.event.remove(s,ee+l[N],f,p,!0);continue}for(z=d.event.special[ee]||{},ee=(p?z.delegateType:z.bindType)||ee,Y=C[ee]||[],M=M[2]&&new RegExp("(^|\\.)"+ue.join("\\.(?:.*\\.|)")+"(\\.|$)"),b=y=Y.length;y--;)q=Y[y],(m||Ee===q.origType)&&(!f||f.guid===q.guid)&&(!M||M.test(q.namespace))&&(!p||p===q.selector||p==="**"&&q.selector)&&(Y.splice(y,1),q.selector&&Y.delegateCount--,z.remove&&z.remove.call(s,q));b&&!Y.length&&((!z.teardown||z.teardown.call(s,ue,Te.handle)===!1)&&d.removeEvent(s,ee,Te.handle),delete C[ee])}d.isEmptyObject(C)&&ce.remove(s,"handle events")}},dispatch:function(s){var l,f,p,m,y,b,M=new Array(arguments.length),C=d.event.fix(s),N=(ce.get(this,"events")||Object.create(null))[C.type]||[],q=d.event.special[C.type]||{};for(M[0]=C,l=1;l<arguments.length;l++)M[l]=arguments[l];if(C.delegateTarget=this,!(q.preDispatch&&q.preDispatch.call(this,C)===!1)){for(b=d.event.handlers.call(this,C,N),l=0;(m=b[l++])&&!C.isPropagationStopped();)for(C.currentTarget=m.elem,f=0;(y=m.handlers[f++])&&!C.isImmediatePropagationStopped();)(!C.rnamespace||y.namespace===!1||C.rnamespace.test(y.namespace))&&(C.handleObj=y,C.data=y.data,p=((d.event.special[y.origType]||{}).handle||y.handler).apply(m.elem,M),p!==void 0&&(C.result=p)===!1&&(C.preventDefault(),C.stopPropagation()));return q.postDispatch&&q.postDispatch.call(this,C),C.result}},handlers:function(s,l){var f,p,m,y,b,M=[],C=l.delegateCount,N=s.target;if(C&&N.nodeType&&!(s.type==="click"&&s.button>=1)){for(;N!==this;N=N.parentNode||this)if(N.nodeType===1&&!(s.type==="click"&&N.disabled===!0)){for(y=[],b={},f=0;f<C;f++)p=l[f],m=p.selector+" ",b[m]===void 0&&(b[m]=p.needsContext?d(m,this).index(N)>-1:d.find(m,this,null,[N]).length),b[m]&&y.push(p);y.length&&M.push({elem:N,handlers:y})}}return N=this,C<l.length&&M.push({elem:N,handlers:l.slice(C)}),M},addProp:function(s,l){Object.defineProperty(d.Event.prototype,s,{enumerable:!0,configurable:!0,get:$(l)?function(){if(this.originalEvent)return l(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[s]},set:function(f){Object.defineProperty(this,s,{enumerable:!0,configurable:!0,writable:!0,value:f})}})},fix:function(s){return s[d.expando]?s:new d.Event(s)},special:{load:{noBubble:!0},click:{setup:function(s){var l=this||s;return wi.test(l.type)&&l.click&&le(l,"input")&&bs(l,"click",!0),!1},trigger:function(s){var l=this||s;return wi.test(l.type)&&l.click&&le(l,"input")&&bs(l,"click"),!0},_default:function(s){var l=s.target;return wi.test(l.type)&&l.click&&le(l,"input")&&ce.get(l,"click")||le(l,"a")}},beforeunload:{postDispatch:function(s){s.result!==void 0&&s.originalEvent&&(s.originalEvent.returnValue=s.result)}}}};function bs(s,l,f){if(!f){ce.get(s,l)===void 0&&d.event.add(s,l,xr);return}ce.set(s,l,!1),d.event.add(s,l,{namespace:!1,handler:function(p){var m,y=ce.get(this,l);if(p.isTrigger&1&&this[l]){if(y)(d.event.special[l]||{}).delegateType&&p.stopPropagation();else if(y=c.call(arguments),ce.set(this,l,y),this[l](),m=ce.get(this,l),ce.set(this,l,!1),y!==m)return p.stopImmediatePropagation(),p.preventDefault(),m}else y&&(ce.set(this,l,d.event.trigger(y[0],y.slice(1),this)),p.stopPropagation(),p.isImmediatePropagationStopped=xr)}})}d.removeEvent=function(s,l,f){s.removeEventListener&&s.removeEventListener(l,f)},d.Event=function(s,l){if(!(this instanceof d.Event))return new d.Event(s,l);s&&s.type?(this.originalEvent=s,this.type=s.type,this.isDefaultPrevented=s.defaultPrevented||s.defaultPrevented===void 0&&s.returnValue===!1?xr:xi,this.target=s.target&&s.target.nodeType===3?s.target.parentNode:s.target,this.currentTarget=s.currentTarget,this.relatedTarget=s.relatedTarget):this.type=s,l&&d.extend(this,l),this.timeStamp=s&&s.timeStamp||Date.now(),this[d.expando]=!0},d.Event.prototype={constructor:d.Event,isDefaultPrevented:xi,isPropagationStopped:xi,isImmediatePropagationStopped:xi,isSimulated:!1,preventDefault:function(){var s=this.originalEvent;this.isDefaultPrevented=xr,s&&!this.isSimulated&&s.preventDefault()},stopPropagation:function(){var s=this.originalEvent;this.isPropagationStopped=xr,s&&!this.isSimulated&&s.stopPropagation()},stopImmediatePropagation:function(){var s=this.originalEvent;this.isImmediatePropagationStopped=xr,s&&!this.isSimulated&&s.stopImmediatePropagation(),this.stopPropagation()}},d.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},d.event.addProp),d.each({focus:"focusin",blur:"focusout"},function(s,l){function f(p){if(H.documentMode){var m=ce.get(this,"handle"),y=d.event.fix(p);y.type=p.type==="focusin"?"focus":"blur",y.isSimulated=!0,m(p),y.target===y.currentTarget&&m(y)}else d.event.simulate(l,p.target,d.event.fix(p))}d.event.special[s]={setup:function(){var p;if(bs(this,s,!0),H.documentMode)p=ce.get(this,l),p||this.addEventListener(l,f),ce.set(this,l,(p||0)+1);else return!1},trigger:function(){return bs(this,s),!0},teardown:function(){var p;if(H.documentMode)p=ce.get(this,l)-1,p?ce.set(this,l,p):(this.removeEventListener(l,f),ce.remove(this,l));else return!1},_default:function(p){return ce.get(p.target,s)},delegateType:l},d.event.special[l]={setup:function(){var p=this.ownerDocument||this.document||this,m=H.documentMode?this:p,y=ce.get(m,l);y||(H.documentMode?this.addEventListener(l,f):p.addEventListener(s,f,!0)),ce.set(m,l,(y||0)+1)},teardown:function(){var p=this.ownerDocument||this.document||this,m=H.documentMode?this:p,y=ce.get(m,l)-1;y?ce.set(m,l,y):(H.documentMode?this.removeEventListener(l,f):p.removeEventListener(s,f,!0),ce.remove(m,l))}}}),d.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(s,l){d.event.special[s]={delegateType:l,bindType:l,handle:function(f){var p,m=this,y=f.relatedTarget,b=f.handleObj;return(!y||y!==m&&!d.contains(m,y))&&(f.type=b.origType,p=b.handler.apply(this,arguments),f.type=l),p}}}),d.fn.extend({on:function(s,l,f,p){return qi(this,s,l,f,p)},one:function(s,l,f,p){return qi(this,s,l,f,p,1)},off:function(s,l,f){var p,m;if(s&&s.preventDefault&&s.handleObj)return p=s.handleObj,d(s.delegateTarget).off(p.namespace?p.origType+"."+p.namespace:p.origType,p.selector,p.handler),this;if(typeof s=="object"){for(m in s)this.off(m,l,s[m]);return this}return(l===!1||typeof l=="function")&&(f=l,l=void 0),f===!1&&(f=xi),this.each(function(){d.event.remove(this,s,f,l)})}});var Vl=/<script|<style|<link/i,Gl=/checked\s*(?:[^=]|=\s*.checked.)/i,Kl=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function _o(s,l){return le(s,"table")&&le(l.nodeType!==11?l:l.firstChild,"tr")&&d(s).children("tbody")[0]||s}function Xl(s){return s.type=(s.getAttribute("type")!==null)+"/"+s.type,s}function Zl(s){return(s.type||"").slice(0,5)==="true/"?s.type=s.type.slice(5):s.removeAttribute("type"),s}function wo(s,l){var f,p,m,y,b,M,C;if(l.nodeType===1){if(ce.hasData(s)&&(y=ce.get(s),C=y.events,C)){ce.remove(l,"handle events");for(m in C)for(f=0,p=C[m].length;f<p;f++)d.event.add(l,m,C[m][f])}Ft.hasData(s)&&(b=Ft.access(s),M=d.extend({},b),Ft.set(l,M))}}function xo(s,l){var f=l.nodeName.toLowerCase();f==="input"&&wi.test(s.type)?l.checked=s.checked:(f==="input"||f==="textarea")&&(l.defaultValue=s.defaultValue)}function Si(s,l,f,p){l=g(l);var m,y,b,M,C,N,q=0,z=s.length,Y=z-1,ee=l[0],ue=$(ee);if(ue||z>1&&typeof ee=="string"&&!U.checkClone&&Gl.test(ee))return s.each(function(Ee){var Te=s.eq(Ee);ue&&(l[0]=ee.call(this,Ee,Te.html())),Si(Te,l,f,p)});if(z&&(m=vo(l,s[0].ownerDocument,!1,s,p),y=m.firstChild,m.childNodes.length===1&&(m=y),y||p)){for(b=d.map(Xt(m,"script"),Xl),M=b.length;q<z;q++)C=m,q!==Y&&(C=d.clone(C,!0,!0),M&&d.merge(b,Xt(C,"script"))),f.call(s[q],C,q);if(M)for(N=b[b.length-1].ownerDocument,d.map(b,Zl),q=0;q<M;q++)C=b[q],yo.test(C.type||"")&&!ce.access(C,"globalEval")&&d.contains(N,C)&&(C.src&&(C.type||"").toLowerCase()!=="module"?d._evalUrl&&!C.noModule&&d._evalUrl(C.src,{nonce:C.nonce||C.getAttribute("nonce")},N):me(C.textContent.replace(Kl,""),C,N))}return s}function So(s,l,f){for(var p,m=l?d.filter(l,s):s,y=0;(p=m[y])!=null;y++)!f&&p.nodeType===1&&d.cleanData(Xt(p)),p.parentNode&&(f&&wr(p)&&vs(Xt(p,"script")),p.parentNode.removeChild(p));return s}d.extend({htmlPrefilter:function(s){return s},clone:function(s,l,f){var p,m,y,b,M=s.cloneNode(!0),C=wr(s);if(!U.noCloneChecked&&(s.nodeType===1||s.nodeType===11)&&!d.isXMLDoc(s))for(b=Xt(M),y=Xt(s),p=0,m=y.length;p<m;p++)xo(y[p],b[p]);if(l)if(f)for(y=y||Xt(s),b=b||Xt(M),p=0,m=y.length;p<m;p++)wo(y[p],b[p]);else wo(s,M);return b=Xt(M,"script"),b.length>0&&vs(b,!C&&Xt(s,"script")),M},cleanData:function(s){for(var l,f,p,m=d.event.special,y=0;(f=s[y])!==void 0;y++)if(Fn(f)){if(l=f[ce.expando]){if(l.events)for(p in l.events)m[p]?d.event.remove(f,p):d.removeEvent(f,p,l.handle);f[ce.expando]=void 0}f[Ft.expando]&&(f[Ft.expando]=void 0)}}}),d.fn.extend({detach:function(s){return So(this,s,!0)},remove:function(s){return So(this,s)},text:function(s){return dn(this,function(l){return l===void 0?d.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=l)})},null,s,arguments.length)},append:function(){return Si(this,arguments,function(s){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var l=_o(this,s);l.appendChild(s)}})},prepend:function(){return Si(this,arguments,function(s){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var l=_o(this,s);l.insertBefore(s,l.firstChild)}})},before:function(){return Si(this,arguments,function(s){this.parentNode&&this.parentNode.insertBefore(s,this)})},after:function(){return Si(this,arguments,function(s){this.parentNode&&this.parentNode.insertBefore(s,this.nextSibling)})},empty:function(){for(var s,l=0;(s=this[l])!=null;l++)s.nodeType===1&&(d.cleanData(Xt(s,!1)),s.textContent="");return this},clone:function(s,l){return s=s??!1,l=l??s,this.map(function(){return d.clone(this,s,l)})},html:function(s){return dn(this,function(l){var f=this[0]||{},p=0,m=this.length;if(l===void 0&&f.nodeType===1)return f.innerHTML;if(typeof l=="string"&&!Vl.test(l)&&!pn[(mo.exec(l)||["",""])[1].toLowerCase()]){l=d.htmlPrefilter(l);try{for(;p<m;p++)f=this[p]||{},f.nodeType===1&&(d.cleanData(Xt(f,!1)),f.innerHTML=l);f=0}catch{}}f&&this.empty().append(l)},null,s,arguments.length)},replaceWith:function(){var s=[];return Si(this,arguments,function(l){var f=this.parentNode;d.inArray(this,s)<0&&(d.cleanData(Xt(this)),f&&f.replaceChild(l,this))},s)}}),d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(s,l){d.fn[s]=function(f){for(var p,m=[],y=d(f),b=y.length-1,M=0;M<=b;M++)p=M===b?this:this.clone(!0),d(y[M])[l](p),w.apply(m,p.get());return this.pushStack(m)}});var aa=new RegExp("^("+bi+")(?!px)[a-z%]+$","i"),oa=/^--/,_s=function(s){var l=s.ownerDocument.defaultView;return(!l||!l.opener)&&(l=t),l.getComputedStyle(s)},ko=function(s,l,f){var p,m,y={};for(m in l)y[m]=s.style[m],s.style[m]=l[m];p=f.call(s);for(m in l)s.style[m]=y[m];return p},ws=new RegExp(hn.join("|"),"i");(function(){function s(){if(N){C.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",N.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",or.appendChild(C).appendChild(N);var q=t.getComputedStyle(N);f=q.top!=="1%",M=l(q.marginLeft)===12,N.style.right="60%",y=l(q.right)===36,p=l(q.width)===36,N.style.position="absolute",m=l(N.offsetWidth/3)===12,or.removeChild(C),N=null}}function l(q){return Math.round(parseFloat(q))}var f,p,m,y,b,M,C=H.createElement("div"),N=H.createElement("div");N.style&&(N.style.backgroundClip="content-box",N.cloneNode(!0).style.backgroundClip="",U.clearCloneStyle=N.style.backgroundClip==="content-box",d.extend(U,{boxSizingReliable:function(){return s(),p},pixelBoxStyles:function(){return s(),y},pixelPosition:function(){return s(),f},reliableMarginLeft:function(){return s(),M},scrollboxSize:function(){return s(),m},reliableTrDimensions:function(){var q,z,Y,ee;return b==null&&(q=H.createElement("table"),z=H.createElement("tr"),Y=H.createElement("div"),q.style.cssText="position:absolute;left:-11111px;border-collapse:separate",z.style.cssText="box-sizing:content-box;border:1px solid",z.style.height="1px",Y.style.height="9px",Y.style.display="block",or.appendChild(q).appendChild(z).appendChild(Y),ee=t.getComputedStyle(z),b=parseInt(ee.height,10)+parseInt(ee.borderTopWidth,10)+parseInt(ee.borderBottomWidth,10)===z.offsetHeight,or.removeChild(q)),b}}))})();function zi(s,l,f){var p,m,y,b,M=oa.test(l),C=s.style;return f=f||_s(s),f&&(b=f.getPropertyValue(l)||f[l],M&&b&&(b=b.replace(ot,"$1")||void 0),b===""&&!wr(s)&&(b=d.style(s,l)),!U.pixelBoxStyles()&&aa.test(b)&&ws.test(l)&&(p=C.width,m=C.minWidth,y=C.maxWidth,C.minWidth=C.maxWidth=C.width=b,b=f.width,C.width=p,C.minWidth=m,C.maxWidth=y)),b!==void 0?b+"":b}function Vi(s,l){return{get:function(){if(s()){delete this.get;return}return(this.get=l).apply(this,arguments)}}}var Do=["Webkit","Moz","ms"],Co=H.createElement("div").style,To={};function Eo(s){for(var l=s[0].toUpperCase()+s.slice(1),f=Do.length;f--;)if(s=Do[f]+l,s in Co)return s}function xs(s){var l=d.cssProps[s]||To[s];return l||(s in Co?s:To[s]=Eo(s)||s)}var Mo=/^(none|table(?!-c[ea]).+)/,Jl={position:"absolute",visibility:"hidden",display:"block"},Ao={letterSpacing:"0",fontWeight:"400"};function Oo(s,l,f){var p=Wn.exec(l);return p?Math.max(0,p[2]-(f||0))+(p[3]||"px"):l}function ua(s,l,f,p,m,y){var b=l==="width"?1:0,M=0,C=0,N=0;if(f===(p?"border":"content"))return 0;for(;b<4;b+=2)f==="margin"&&(N+=d.css(s,f+hn[b],!0,m)),p?(f==="content"&&(C-=d.css(s,"padding"+hn[b],!0,m)),f!=="margin"&&(C-=d.css(s,"border"+hn[b]+"Width",!0,m))):(C+=d.css(s,"padding"+hn[b],!0,m),f!=="padding"?C+=d.css(s,"border"+hn[b]+"Width",!0,m):M+=d.css(s,"border"+hn[b]+"Width",!0,m));return!p&&y>=0&&(C+=Math.max(0,Math.ceil(s["offset"+l[0].toUpperCase()+l.slice(1)]-y-C-M-.5))||0),C+N}function la(s,l,f){var p=_s(s),m=!U.boxSizingReliable()||f,y=m&&d.css(s,"boxSizing",!1,p)==="border-box",b=y,M=zi(s,l,p),C="offset"+l[0].toUpperCase()+l.slice(1);if(aa.test(M)){if(!f)return M;M="auto"}return(!U.boxSizingReliable()&&y||!U.reliableTrDimensions()&&le(s,"tr")||M==="auto"||!parseFloat(M)&&d.css(s,"display",!1,p)==="inline")&&s.getClientRects().length&&(y=d.css(s,"boxSizing",!1,p)==="border-box",b=C in s,b&&(M=s[C])),M=parseFloat(M)||0,M+ua(s,l,f||(y?"border":"content"),b,p,M)+"px"}d.extend({cssHooks:{opacity:{get:function(s,l){if(l){var f=zi(s,"opacity");return f===""?"1":f}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(s,l,f,p){if(!(!s||s.nodeType===3||s.nodeType===8||!s.style)){var m,y,b,M=$t(l),C=oa.test(l),N=s.style;if(C||(l=xs(M)),b=d.cssHooks[l]||d.cssHooks[M],f!==void 0){if(y=typeof f,y==="string"&&(m=Wn.exec(f))&&m[1]&&(f=po(s,l,m),y="number"),f==null||f!==f)return;y==="number"&&!C&&(f+=m&&m[3]||(d.cssNumber[M]?"":"px")),!U.clearCloneStyle&&f===""&&l.indexOf("background")===0&&(N[l]="inherit"),(!b||!("set"in b)||(f=b.set(s,f,p))!==void 0)&&(C?N.setProperty(l,f):N[l]=f)}else return b&&"get"in b&&(m=b.get(s,!1,p))!==void 0?m:N[l]}},css:function(s,l,f,p){var m,y,b,M=$t(l),C=oa.test(l);return C||(l=xs(M)),b=d.cssHooks[l]||d.cssHooks[M],b&&"get"in b&&(m=b.get(s,!0,f)),m===void 0&&(m=zi(s,l,p)),m==="normal"&&l in Ao&&(m=Ao[l]),f===""||f?(y=parseFloat(m),f===!0||isFinite(y)?y||0:m):m}}),d.each(["height","width"],function(s,l){d.cssHooks[l]={get:function(f,p,m){if(p)return Mo.test(d.css(f,"display"))&&(!f.getClientRects().length||!f.getBoundingClientRect().width)?ko(f,Jl,function(){return la(f,l,m)}):la(f,l,m)},set:function(f,p,m){var y,b=_s(f),M=!U.scrollboxSize()&&b.position==="absolute",C=M||m,N=C&&d.css(f,"boxSizing",!1,b)==="border-box",q=m?ua(f,l,m,N,b):0;return N&&M&&(q-=Math.ceil(f["offset"+l[0].toUpperCase()+l.slice(1)]-parseFloat(b[l])-ua(f,l,"border",!1,b)-.5)),q&&(y=Wn.exec(p))&&(y[3]||"px")!=="px"&&(f.style[l]=p,p=d.css(f,l)),Oo(f,p,q)}}}),d.cssHooks.marginLeft=Vi(U.reliableMarginLeft,function(s,l){if(l)return(parseFloat(zi(s,"marginLeft"))||s.getBoundingClientRect().left-ko(s,{marginLeft:0},function(){return s.getBoundingClientRect().left}))+"px"}),d.each({margin:"",padding:"",border:"Width"},function(s,l){d.cssHooks[s+l]={expand:function(f){for(var p=0,m={},y=typeof f=="string"?f.split(" "):[f];p<4;p++)m[s+hn[p]+l]=y[p]||y[p-2]||y[0];return m}},s!=="margin"&&(d.cssHooks[s+l].set=Oo)}),d.fn.extend({css:function(s,l){return dn(this,function(f,p,m){var y,b,M={},C=0;if(Array.isArray(p)){for(y=_s(f),b=p.length;C<b;C++)M[p[C]]=d.css(f,p[C],!1,y);return M}return m!==void 0?d.style(f,p,m):d.css(f,p)},s,l,arguments.length>1)}});function jt(s,l,f,p,m){return new jt.prototype.init(s,l,f,p,m)}d.Tween=jt,jt.prototype={constructor:jt,init:function(s,l,f,p,m,y){this.elem=s,this.prop=f,this.easing=m||d.easing._default,this.options=l,this.start=this.now=this.cur(),this.end=p,this.unit=y||(d.cssNumber[f]?"":"px")},cur:function(){var s=jt.propHooks[this.prop];return s&&s.get?s.get(this):jt.propHooks._default.get(this)},run:function(s){var l,f=jt.propHooks[this.prop];return this.options.duration?this.pos=l=d.easing[this.easing](s,this.options.duration*s,0,1,this.options.duration):this.pos=l=s,this.now=(this.end-this.start)*l+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),f&&f.set?f.set(this):jt.propHooks._default.set(this),this}},jt.prototype.init.prototype=jt.prototype,jt.propHooks={_default:{get:function(s){var l;return s.elem.nodeType!==1||s.elem[s.prop]!=null&&s.elem.style[s.prop]==null?s.elem[s.prop]:(l=d.css(s.elem,s.prop,""),!l||l==="auto"?0:l)},set:function(s){d.fx.step[s.prop]?d.fx.step[s.prop](s):s.elem.nodeType===1&&(d.cssHooks[s.prop]||s.elem.style[xs(s.prop)]!=null)?d.style(s.elem,s.prop,s.now+s.unit):s.elem[s.prop]=s.now}}},jt.propHooks.scrollTop=jt.propHooks.scrollLeft={set:function(s){s.elem.nodeType&&s.elem.parentNode&&(s.elem[s.prop]=s.now)}},d.easing={linear:function(s){return s},swing:function(s){return .5-Math.cos(s*Math.PI)/2},_default:"swing"},d.fx=jt.prototype.init,d.fx.step={};var Vr,ki,Ql=/^(?:toggle|show|hide)$/,Io=/queueHooks$/;function Di(){ki&&(H.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(Di):t.setTimeout(Di,d.fx.interval),d.fx.tick())}function ca(){return t.setTimeout(function(){Vr=void 0}),Vr=Date.now()}function Ss(s,l){var f,p=0,m={height:s};for(l=l?1:0;p<4;p+=2-l)f=hn[p],m["margin"+f]=m["padding"+f]=s;return l&&(m.opacity=m.width=s),m}function fa(s,l,f){for(var p,m=(Dn.tweeners[l]||[]).concat(Dn.tweeners["*"]),y=0,b=m.length;y<b;y++)if(p=m[y].call(f,l,s))return p}function Ro(s,l,f){var p,m,y,b,M,C,N,q,z="width"in l||"height"in l,Y=this,ee={},ue=s.style,Ee=s.nodeType&&_i(s),Te=ce.get(s,"fxshow");f.queue||(b=d._queueHooks(s,"fx"),b.unqueued==null&&(b.unqueued=0,M=b.empty.fire,b.empty.fire=function(){b.unqueued||M()}),b.unqueued++,Y.always(function(){Y.always(function(){b.unqueued--,d.queue(s,"fx").length||b.empty.fire()})}));for(p in l)if(m=l[p],Ql.test(m)){if(delete l[p],y=y||m==="toggle",m===(Ee?"hide":"show"))if(m==="show"&&Te&&Te[p]!==void 0)Ee=!0;else continue;ee[p]=Te&&Te[p]||d.style(s,p)}if(C=!d.isEmptyObject(l),!(!C&&d.isEmptyObject(ee))){z&&s.nodeType===1&&(f.overflow=[ue.overflow,ue.overflowX,ue.overflowY],N=Te&&Te.display,N==null&&(N=ce.get(s,"display")),q=d.css(s,"display"),q==="none"&&(N?q=N:(zr([s],!0),N=s.style.display||N,q=d.css(s,"display"),zr([s]))),(q==="inline"||q==="inline-block"&&N!=null)&&d.css(s,"float")==="none"&&(C||(Y.done(function(){ue.display=N}),N==null&&(q=ue.display,N=q==="none"?"":q)),ue.display="inline-block")),f.overflow&&(ue.overflow="hidden",Y.always(function(){ue.overflow=f.overflow[0],ue.overflowX=f.overflow[1],ue.overflowY=f.overflow[2]})),C=!1;for(p in ee)C||(Te?"hidden"in Te&&(Ee=Te.hidden):Te=ce.access(s,"fxshow",{display:N}),y&&(Te.hidden=!Ee),Ee&&zr([s],!0),Y.done(function(){Ee||zr([s]),ce.remove(s,"fxshow");for(p in ee)d.style(s,p,ee[p])})),C=fa(Ee?Te[p]:0,p,Y),p in Te||(Te[p]=C.start,Ee&&(C.end=C.start,C.start=0))}}function da(s,l){var f,p,m,y,b;for(f in s)if(p=$t(f),m=l[p],y=s[f],Array.isArray(y)&&(m=y[1],y=s[f]=y[0]),f!==p&&(s[p]=y,delete s[f]),b=d.cssHooks[p],b&&"expand"in b){y=b.expand(y),delete s[p];for(f in y)f in s||(s[f]=y[f],l[f]=m)}else l[p]=m}function Dn(s,l,f){var p,m,y=0,b=Dn.prefilters.length,M=d.Deferred().always(function(){delete C.elem}),C=function(){if(m)return!1;for(var z=Vr||ca(),Y=Math.max(0,N.startTime+N.duration-z),ee=Y/N.duration||0,ue=1-ee,Ee=0,Te=N.tweens.length;Ee<Te;Ee++)N.tweens[Ee].run(ue);return M.notifyWith(s,[N,ue,Y]),ue<1&&Te?Y:(Te||M.notifyWith(s,[N,1,0]),M.resolveWith(s,[N]),!1)},N=M.promise({elem:s,props:d.extend({},l),opts:d.extend(!0,{specialEasing:{},easing:d.easing._default},f),originalProperties:l,originalOptions:f,startTime:Vr||ca(),duration:f.duration,tweens:[],createTween:function(z,Y){var ee=d.Tween(s,N.opts,z,Y,N.opts.specialEasing[z]||N.opts.easing);return N.tweens.push(ee),ee},stop:function(z){var Y=0,ee=z?N.tweens.length:0;if(m)return this;for(m=!0;Y<ee;Y++)N.tweens[Y].run(1);return z?(M.notifyWith(s,[N,1,0]),M.resolveWith(s,[N,z])):M.rejectWith(s,[N,z]),this}}),q=N.props;for(da(q,N.opts.specialEasing);y<b;y++)if(p=Dn.prefilters[y].call(N,s,q,N.opts),p)return $(p.stop)&&(d._queueHooks(N.elem,N.opts.queue).stop=p.stop.bind(p)),p;return d.map(q,fa,N),$(N.opts.start)&&N.opts.start.call(s,N),N.progress(N.opts.progress).done(N.opts.done,N.opts.complete).fail(N.opts.fail).always(N.opts.always),d.fx.timer(d.extend(C,{elem:s,anim:N,queue:N.opts.queue})),N}d.Animation=d.extend(Dn,{tweeners:{"*":[function(s,l){var f=this.createTween(s,l);return po(f.elem,s,Wn.exec(l),f),f}]},tweener:function(s,l){$(s)?(l=s,s=["*"]):s=s.match(fn);for(var f,p=0,m=s.length;p<m;p++)f=s[p],Dn.tweeners[f]=Dn.tweeners[f]||[],Dn.tweeners[f].unshift(l)},prefilters:[Ro],prefilter:function(s,l){l?Dn.prefilters.unshift(s):Dn.prefilters.push(s)}}),d.speed=function(s,l,f){var p=s&&typeof s=="object"?d.extend({},s):{complete:f||!f&&l||$(s)&&s,duration:s,easing:f&&l||l&&!$(l)&&l};return d.fx.off?p.duration=0:typeof p.duration!="number"&&(p.duration in d.fx.speeds?p.duration=d.fx.speeds[p.duration]:p.duration=d.fx.speeds._default),(p.queue==null||p.queue===!0)&&(p.queue="fx"),p.old=p.complete,p.complete=function(){$(p.old)&&p.old.call(this),p.queue&&d.dequeue(this,p.queue)},p},d.fn.extend({fadeTo:function(s,l,f,p){return this.filter(_i).css("opacity",0).show().end().animate({opacity:l},s,f,p)},animate:function(s,l,f,p){var m=d.isEmptyObject(s),y=d.speed(l,f,p),b=function(){var M=Dn(this,d.extend({},s),y);(m||ce.get(this,"finish"))&&M.stop(!0)};return b.finish=b,m||y.queue===!1?this.each(b):this.queue(y.queue,b)},stop:function(s,l,f){var p=function(m){var y=m.stop;delete m.stop,y(f)};return typeof s!="string"&&(f=l,l=s,s=void 0),l&&this.queue(s||"fx",[]),this.each(function(){var m=!0,y=s!=null&&s+"queueHooks",b=d.timers,M=ce.get(this);if(y)M[y]&&M[y].stop&&p(M[y]);else for(y in M)M[y]&&M[y].stop&&Io.test(y)&&p(M[y]);for(y=b.length;y--;)b[y].elem===this&&(s==null||b[y].queue===s)&&(b[y].anim.stop(f),m=!1,b.splice(y,1));(m||!f)&&d.dequeue(this,s)})},finish:function(s){return s!==!1&&(s=s||"fx"),this.each(function(){var l,f=ce.get(this),p=f[s+"queue"],m=f[s+"queueHooks"],y=d.timers,b=p?p.length:0;for(f.finish=!0,d.queue(this,s,[]),m&&m.stop&&m.stop.call(this,!0),l=y.length;l--;)y[l].elem===this&&y[l].queue===s&&(y[l].anim.stop(!0),y.splice(l,1));for(l=0;l<b;l++)p[l]&&p[l].finish&&p[l].finish.call(this);delete f.finish})}}),d.each(["toggle","show","hide"],function(s,l){var f=d.fn[l];d.fn[l]=function(p,m,y){return p==null||typeof p=="boolean"?f.apply(this,arguments):this.animate(Ss(l,!0),p,m,y)}}),d.each({slideDown:Ss("show"),slideUp:Ss("hide"),slideToggle:Ss("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(s,l){d.fn[s]=function(f,p,m){return this.animate(l,f,p,m)}}),d.timers=[],d.fx.tick=function(){var s,l=0,f=d.timers;for(Vr=Date.now();l<f.length;l++)s=f[l],!s()&&f[l]===s&&f.splice(l--,1);f.length||d.fx.stop(),Vr=void 0},d.fx.timer=function(s){d.timers.push(s),d.fx.start()},d.fx.interval=13,d.fx.start=function(){ki||(ki=!0,Di())},d.fx.stop=function(){ki=null},d.fx.speeds={slow:600,fast:200,_default:400},d.fn.delay=function(s,l){return s=d.fx&&d.fx.speeds[s]||s,l=l||"fx",this.queue(l,function(f,p){var m=t.setTimeout(f,s);p.stop=function(){t.clearTimeout(m)}})},function(){var s=H.createElement("input"),l=H.createElement("select"),f=l.appendChild(H.createElement("option"));s.type="checkbox",U.checkOn=s.value!=="",U.optSelected=f.selected,s=H.createElement("input"),s.value="t",s.type="radio",U.radioValue=s.value==="t"}();var ha,Gr=d.expr.attrHandle;d.fn.extend({attr:function(s,l){return dn(this,d.attr,s,l,arguments.length>1)},removeAttr:function(s){return this.each(function(){d.removeAttr(this,s)})}}),d.extend({attr:function(s,l,f){var p,m,y=s.nodeType;if(!(y===3||y===8||y===2)){if(typeof s.getAttribute>"u")return d.prop(s,l,f);if((y!==1||!d.isXMLDoc(s))&&(m=d.attrHooks[l.toLowerCase()]||(d.expr.match.bool.test(l)?ha:void 0)),f!==void 0){if(f===null){d.removeAttr(s,l);return}return m&&"set"in m&&(p=m.set(s,f,l))!==void 0?p:(s.setAttribute(l,f+""),f)}return m&&"get"in m&&(p=m.get(s,l))!==null?p:(p=d.find.attr(s,l),p??void 0)}},attrHooks:{type:{set:function(s,l){if(!U.radioValue&&l==="radio"&&le(s,"input")){var f=s.value;return s.setAttribute("type",l),f&&(s.value=f),l}}}},removeAttr:function(s,l){var f,p=0,m=l&&l.match(fn);if(m&&s.nodeType===1)for(;f=m[p++];)s.removeAttribute(f)}}),ha={set:function(s,l,f){return l===!1?d.removeAttr(s,f):s.setAttribute(f,f),f}},d.each(d.expr.match.bool.source.match(/\w+/g),function(s,l){var f=Gr[l]||d.find.attr;Gr[l]=function(p,m,y){var b,M,C=m.toLowerCase();return y||(M=Gr[C],Gr[C]=b,b=f(p,m,y)!=null?C:null,Gr[C]=M),b}});var pa=/^(?:input|select|textarea|button)$/i,Ci=/^(?:a|area)$/i;d.fn.extend({prop:function(s,l){return dn(this,d.prop,s,l,arguments.length>1)},removeProp:function(s){return this.each(function(){delete this[d.propFix[s]||s]})}}),d.extend({prop:function(s,l,f){var p,m,y=s.nodeType;if(!(y===3||y===8||y===2))return(y!==1||!d.isXMLDoc(s))&&(l=d.propFix[l]||l,m=d.propHooks[l]),f!==void 0?m&&"set"in m&&(p=m.set(s,f,l))!==void 0?p:s[l]=f:m&&"get"in m&&(p=m.get(s,l))!==null?p:s[l]},propHooks:{tabIndex:{get:function(s){var l=d.find.attr(s,"tabindex");return l?parseInt(l,10):pa.test(s.nodeName)||Ci.test(s.nodeName)&&s.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),U.optSelected||(d.propHooks.selected={get:function(s){var l=s.parentNode;return l&&l.parentNode&&l.parentNode.selectedIndex,null},set:function(s){var l=s.parentNode;l&&(l.selectedIndex,l.parentNode&&l.parentNode.selectedIndex)}}),d.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){d.propFix[this.toLowerCase()]=this});function Sr(s){var l=s.match(fn)||[];return l.join(" ")}function kr(s){return s.getAttribute&&s.getAttribute("class")||""}function ga(s){return Array.isArray(s)?s:typeof s=="string"?s.match(fn)||[]:[]}d.fn.extend({addClass:function(s){var l,f,p,m,y,b;return $(s)?this.each(function(M){d(this).addClass(s.call(this,M,kr(this)))}):(l=ga(s),l.length?this.each(function(){if(p=kr(this),f=this.nodeType===1&&" "+Sr(p)+" ",f){for(y=0;y<l.length;y++)m=l[y],f.indexOf(" "+m+" ")<0&&(f+=m+" ");b=Sr(f),p!==b&&this.setAttribute("class",b)}}):this)},removeClass:function(s){var l,f,p,m,y,b;return $(s)?this.each(function(M){d(this).removeClass(s.call(this,M,kr(this)))}):arguments.length?(l=ga(s),l.length?this.each(function(){if(p=kr(this),f=this.nodeType===1&&" "+Sr(p)+" ",f){for(y=0;y<l.length;y++)for(m=l[y];f.indexOf(" "+m+" ")>-1;)f=f.replace(" "+m+" "," ");b=Sr(f),p!==b&&this.setAttribute("class",b)}}):this):this.attr("class","")},toggleClass:function(s,l){var f,p,m,y,b=typeof s,M=b==="string"||Array.isArray(s);return $(s)?this.each(function(C){d(this).toggleClass(s.call(this,C,kr(this),l),l)}):typeof l=="boolean"&&M?l?this.addClass(s):this.removeClass(s):(f=ga(s),this.each(function(){if(M)for(y=d(this),m=0;m<f.length;m++)p=f[m],y.hasClass(p)?y.removeClass(p):y.addClass(p);else(s===void 0||b==="boolean")&&(p=kr(this),p&&ce.set(this,"__className__",p),this.setAttribute&&this.setAttribute("class",p||s===!1?"":ce.get(this,"__className__")||""))}))},hasClass:function(s){var l,f,p=0;for(l=" "+s+" ";f=this[p++];)if(f.nodeType===1&&(" "+Sr(kr(f))+" ").indexOf(l)>-1)return!0;return!1}});var Po=/\r/g;d.fn.extend({val:function(s){var l,f,p,m=this[0];return arguments.length?(p=$(s),this.each(function(y){var b;this.nodeType===1&&(p?b=s.call(this,y,d(this).val()):b=s,b==null?b="":typeof b=="number"?b+="":Array.isArray(b)&&(b=d.map(b,function(M){return M==null?"":M+""})),l=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()],(!l||!("set"in l)||l.set(this,b,"value")===void 0)&&(this.value=b))})):m?(l=d.valHooks[m.type]||d.valHooks[m.nodeName.toLowerCase()],l&&"get"in l&&(f=l.get(m,"value"))!==void 0?f:(f=m.value,typeof f=="string"?f.replace(Po,""):f??"")):void 0}}),d.extend({valHooks:{option:{get:function(s){var l=d.find.attr(s,"value");return l??Sr(d.text(s))}},select:{get:function(s){var l,f,p,m=s.options,y=s.selectedIndex,b=s.type==="select-one",M=b?null:[],C=b?y+1:m.length;for(y<0?p=C:p=b?y:0;p<C;p++)if(f=m[p],(f.selected||p===y)&&!f.disabled&&(!f.parentNode.disabled||!le(f.parentNode,"optgroup"))){if(l=d(f).val(),b)return l;M.push(l)}return M},set:function(s,l){for(var f,p,m=s.options,y=d.makeArray(l),b=m.length;b--;)p=m[b],(p.selected=d.inArray(d.valHooks.option.get(p),y)>-1)&&(f=!0);return f||(s.selectedIndex=-1),y}}}}),d.each(["radio","checkbox"],function(){d.valHooks[this]={set:function(s,l){if(Array.isArray(l))return s.checked=d.inArray(d(s).val(),l)>-1}},U.checkOn||(d.valHooks[this].get=function(s){return s.getAttribute("value")===null?"on":s.value})});var Ti=t.location,ma={guid:Date.now()},ks=/\?/;d.parseXML=function(s){var l,f;if(!s||typeof s!="string")return null;try{l=new t.DOMParser().parseFromString(s,"text/xml")}catch{}return f=l&&l.getElementsByTagName("parsererror")[0],(!l||f)&&d.error("Invalid XML: "+(f?d.map(f.childNodes,function(p){return p.textContent}).join(`
|
|
140
|
+
`):s)),l};var No=/^(?:focusinfocus|focusoutblur)$/,Lo=function(s){s.stopPropagation()};d.extend(d.event,{trigger:function(s,l,f,p){var m,y,b,M,C,N,q,z,Y=[f||H],ee=W.call(s,"type")?s.type:s,ue=W.call(s,"namespace")?s.namespace.split("."):[];if(y=z=b=f=f||H,!(f.nodeType===3||f.nodeType===8)&&!No.test(ee+d.event.triggered)&&(ee.indexOf(".")>-1&&(ue=ee.split("."),ee=ue.shift(),ue.sort()),C=ee.indexOf(":")<0&&"on"+ee,s=s[d.expando]?s:new d.Event(ee,typeof s=="object"&&s),s.isTrigger=p?2:3,s.namespace=ue.join("."),s.rnamespace=s.namespace?new RegExp("(^|\\.)"+ue.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,s.result=void 0,s.target||(s.target=f),l=l==null?[s]:d.makeArray(l,[s]),q=d.event.special[ee]||{},!(!p&&q.trigger&&q.trigger.apply(f,l)===!1))){if(!p&&!q.noBubble&&!ne(f)){for(M=q.delegateType||ee,No.test(M+ee)||(y=y.parentNode);y;y=y.parentNode)Y.push(y),b=y;b===(f.ownerDocument||H)&&Y.push(b.defaultView||b.parentWindow||t)}for(m=0;(y=Y[m++])&&!s.isPropagationStopped();)z=y,s.type=m>1?M:q.bindType||ee,N=(ce.get(y,"events")||Object.create(null))[s.type]&&ce.get(y,"handle"),N&&N.apply(y,l),N=C&&y[C],N&&N.apply&&Fn(y)&&(s.result=N.apply(y,l),s.result===!1&&s.preventDefault());return s.type=ee,!p&&!s.isDefaultPrevented()&&(!q._default||q._default.apply(Y.pop(),l)===!1)&&Fn(f)&&C&&$(f[ee])&&!ne(f)&&(b=f[C],b&&(f[C]=null),d.event.triggered=ee,s.isPropagationStopped()&&z.addEventListener(ee,Lo),f[ee](),s.isPropagationStopped()&&z.removeEventListener(ee,Lo),d.event.triggered=void 0,b&&(f[C]=b)),s.result}},simulate:function(s,l,f){var p=d.extend(new d.Event,f,{type:s,isSimulated:!0});d.event.trigger(p,null,l)}}),d.fn.extend({trigger:function(s,l){return this.each(function(){d.event.trigger(s,l,this)})},triggerHandler:function(s,l){var f=this[0];if(f)return d.event.trigger(s,l,f,!0)}});var ec=/\[\]$/,ya=/\r?\n/g,tc=/^(?:submit|button|image|reset|file)$/i,nc=/^(?:input|select|textarea|keygen)/i;function va(s,l,f,p){var m;if(Array.isArray(l))d.each(l,function(y,b){f||ec.test(s)?p(s,b):va(s+"["+(typeof b=="object"&&b!=null?y:"")+"]",b,f,p)});else if(!f&&ye(l)==="object")for(m in l)va(s+"["+m+"]",l[m],f,p);else p(s,l)}d.param=function(s,l){var f,p=[],m=function(y,b){var M=$(b)?b():b;p[p.length]=encodeURIComponent(y)+"="+encodeURIComponent(M??"")};if(s==null)return"";if(Array.isArray(s)||s.jquery&&!d.isPlainObject(s))d.each(s,function(){m(this.name,this.value)});else for(f in s)va(f,s[f],l,m);return p.join("&")},d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var s=d.prop(this,"elements");return s?d.makeArray(s):this}).filter(function(){var s=this.type;return this.name&&!d(this).is(":disabled")&&nc.test(this.nodeName)&&!tc.test(s)&&(this.checked||!wi.test(s))}).map(function(s,l){var f=d(this).val();return f==null?null:Array.isArray(f)?d.map(f,function(p){return{name:l.name,value:p.replace(ya,`\r
|
|
141
|
+
`)}}):{name:l.name,value:f.replace(ya,`\r
|
|
142
|
+
`)}}).get()}});var rc=/%20/g,ba=/#.*$/,ic=/([?&])_=[^&]*/,sc=/^(.*?):[ \t]*([^\r\n]*)$/mg,ac=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,oc=/^(?:GET|HEAD)$/,uc=/^\/\//,it={},Qe={},$o="*/".concat("*"),_a=H.createElement("a");_a.href=Ti.href;function Fo(s){return function(l,f){typeof l!="string"&&(f=l,l="*");var p,m=0,y=l.toLowerCase().match(fn)||[];if($(f))for(;p=y[m++];)p[0]==="+"?(p=p.slice(1)||"*",(s[p]=s[p]||[]).unshift(f)):(s[p]=s[p]||[]).push(f)}}function Yo(s,l,f,p){var m={},y=s===Qe;function b(M){var C;return m[M]=!0,d.each(s[M]||[],function(N,q){var z=q(l,f,p);if(typeof z=="string"&&!y&&!m[z])return l.dataTypes.unshift(z),b(z),!1;if(y)return!(C=z)}),C}return b(l.dataTypes[0])||!m["*"]&&b("*")}function wa(s,l){var f,p,m=d.ajaxSettings.flatOptions||{};for(f in l)l[f]!==void 0&&((m[f]?s:p||(p={}))[f]=l[f]);return p&&d.extend(!0,s,p),s}function lc(s,l,f){for(var p,m,y,b,M=s.contents,C=s.dataTypes;C[0]==="*";)C.shift(),p===void 0&&(p=s.mimeType||l.getResponseHeader("Content-Type"));if(p){for(m in M)if(M[m]&&M[m].test(p)){C.unshift(m);break}}if(C[0]in f)y=C[0];else{for(m in f){if(!C[0]||s.converters[m+" "+C[0]]){y=m;break}b||(b=m)}y=y||b}if(y)return y!==C[0]&&C.unshift(y),f[y]}function Wo(s,l,f,p){var m,y,b,M,C,N={},q=s.dataTypes.slice();if(q[1])for(b in s.converters)N[b.toLowerCase()]=s.converters[b];for(y=q.shift();y;)if(s.responseFields[y]&&(f[s.responseFields[y]]=l),!C&&p&&s.dataFilter&&(l=s.dataFilter(l,s.dataType)),C=y,y=q.shift(),y){if(y==="*")y=C;else if(C!=="*"&&C!==y){if(b=N[C+" "+y]||N["* "+y],!b){for(m in N)if(M=m.split(" "),M[1]===y&&(b=N[C+" "+M[0]]||N["* "+M[0]],b)){b===!0?b=N[m]:N[m]!==!0&&(y=M[0],q.unshift(M[1]));break}}if(b!==!0)if(b&&s.throws)l=b(l);else try{l=b(l)}catch(z){return{state:"parsererror",error:b?z:"No conversion from "+C+" to "+y}}}}return{state:"success",data:l}}d.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ti.href,type:"GET",isLocal:ac.test(Ti.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$o,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":d.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(s,l){return l?wa(wa(s,d.ajaxSettings),l):wa(d.ajaxSettings,s)},ajaxPrefilter:Fo(it),ajaxTransport:Fo(Qe),ajax:function(s,l){typeof s=="object"&&(l=s,s=void 0),l=l||{};var f,p,m,y,b,M,C,N,q,z,Y=d.ajaxSetup({},l),ee=Y.context||Y,ue=Y.context&&(ee.nodeType||ee.jquery)?d(ee):d.event,Ee=d.Deferred(),Te=d.Callbacks("once memory"),At=Y.statusCode||{},gt={},Bn={},Hn="canceled",$e={readyState:0,getResponseHeader:function(Fe){var tt;if(C){if(!y)for(y={};tt=sc.exec(m);)y[tt[1].toLowerCase()+" "]=(y[tt[1].toLowerCase()+" "]||[]).concat(tt[2]);tt=y[Fe.toLowerCase()+" "]}return tt==null?null:tt.join(", ")},getAllResponseHeaders:function(){return C?m:null},setRequestHeader:function(Fe,tt){return C==null&&(Fe=Bn[Fe.toLowerCase()]=Bn[Fe.toLowerCase()]||Fe,gt[Fe]=tt),this},overrideMimeType:function(Fe){return C==null&&(Y.mimeType=Fe),this},statusCode:function(Fe){var tt;if(Fe)if(C)$e.always(Fe[$e.status]);else for(tt in Fe)At[tt]=[At[tt],Fe[tt]];return this},abort:function(Fe){var tt=Fe||Hn;return f&&f.abort(tt),Dr(0,tt),this}};if(Ee.promise($e),Y.url=((s||Y.url||Ti.href)+"").replace(uc,Ti.protocol+"//"),Y.type=l.method||l.type||Y.method||Y.type,Y.dataTypes=(Y.dataType||"*").toLowerCase().match(fn)||[""],Y.crossDomain==null){M=H.createElement("a");try{M.href=Y.url,M.href=M.href,Y.crossDomain=_a.protocol+"//"+_a.host!=M.protocol+"//"+M.host}catch{Y.crossDomain=!0}}if(Y.data&&Y.processData&&typeof Y.data!="string"&&(Y.data=d.param(Y.data,Y.traditional)),Yo(it,Y,l,$e),C)return $e;N=d.event&&Y.global,N&&d.active++===0&&d.event.trigger("ajaxStart"),Y.type=Y.type.toUpperCase(),Y.hasContent=!oc.test(Y.type),p=Y.url.replace(ba,""),Y.hasContent?Y.data&&Y.processData&&(Y.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(Y.data=Y.data.replace(rc,"+")):(z=Y.url.slice(p.length),Y.data&&(Y.processData||typeof Y.data=="string")&&(p+=(ks.test(p)?"&":"?")+Y.data,delete Y.data),Y.cache===!1&&(p=p.replace(ic,"$1"),z=(ks.test(p)?"&":"?")+"_="+ma.guid+++z),Y.url=p+z),Y.ifModified&&(d.lastModified[p]&&$e.setRequestHeader("If-Modified-Since",d.lastModified[p]),d.etag[p]&&$e.setRequestHeader("If-None-Match",d.etag[p])),(Y.data&&Y.hasContent&&Y.contentType!==!1||l.contentType)&&$e.setRequestHeader("Content-Type",Y.contentType),$e.setRequestHeader("Accept",Y.dataTypes[0]&&Y.accepts[Y.dataTypes[0]]?Y.accepts[Y.dataTypes[0]]+(Y.dataTypes[0]!=="*"?", "+$o+"; q=0.01":""):Y.accepts["*"]);for(q in Y.headers)$e.setRequestHeader(q,Y.headers[q]);if(Y.beforeSend&&(Y.beforeSend.call(ee,$e,Y)===!1||C))return $e.abort();if(Hn="abort",Te.add(Y.complete),$e.done(Y.success),$e.fail(Y.error),f=Yo(Qe,Y,l,$e),!f)Dr(-1,"No Transport");else{if($e.readyState=1,N&&ue.trigger("ajaxSend",[$e,Y]),C)return $e;Y.async&&Y.timeout>0&&(b=t.setTimeout(function(){$e.abort("timeout")},Y.timeout));try{C=!1,f.send(gt,Dr)}catch(Fe){if(C)throw Fe;Dr(-1,Fe)}}function Dr(Fe,tt,Gi,Cs){var Cn,Kr,mn,lr,Cr,Zt=tt;C||(C=!0,b&&t.clearTimeout(b),f=void 0,m=Cs||"",$e.readyState=Fe>0?4:0,Cn=Fe>=200&&Fe<300||Fe===304,Gi&&(lr=lc(Y,$e,Gi)),!Cn&&d.inArray("script",Y.dataTypes)>-1&&d.inArray("json",Y.dataTypes)<0&&(Y.converters["text script"]=function(){}),lr=Wo(Y,lr,$e,Cn),Cn?(Y.ifModified&&(Cr=$e.getResponseHeader("Last-Modified"),Cr&&(d.lastModified[p]=Cr),Cr=$e.getResponseHeader("etag"),Cr&&(d.etag[p]=Cr)),Fe===204||Y.type==="HEAD"?Zt="nocontent":Fe===304?Zt="notmodified":(Zt=lr.state,Kr=lr.data,mn=lr.error,Cn=!mn)):(mn=Zt,(Fe||!Zt)&&(Zt="error",Fe<0&&(Fe=0))),$e.status=Fe,$e.statusText=(tt||Zt)+"",Cn?Ee.resolveWith(ee,[Kr,Zt,$e]):Ee.rejectWith(ee,[$e,Zt,mn]),$e.statusCode(At),At=void 0,N&&ue.trigger(Cn?"ajaxSuccess":"ajaxError",[$e,Y,Cn?Kr:mn]),Te.fireWith(ee,[$e,Zt]),N&&(ue.trigger("ajaxComplete",[$e,Y]),--d.active||d.event.trigger("ajaxStop")))}return $e},getJSON:function(s,l,f){return d.get(s,l,f,"json")},getScript:function(s,l){return d.get(s,void 0,l,"script")}}),d.each(["get","post"],function(s,l){d[l]=function(f,p,m,y){return $(p)&&(y=y||m,m=p,p=void 0),d.ajax(d.extend({url:f,type:l,dataType:y,data:p,success:m},d.isPlainObject(f)&&f))}}),d.ajaxPrefilter(function(s){var l;for(l in s.headers)l.toLowerCase()==="content-type"&&(s.contentType=s.headers[l]||"")}),d._evalUrl=function(s,l,f){return d.ajax({url:s,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(p){d.globalEval(p,l,f)}})},d.fn.extend({wrapAll:function(s){var l;return this[0]&&($(s)&&(s=s.call(this[0])),l=d(s,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&l.insertBefore(this[0]),l.map(function(){for(var f=this;f.firstElementChild;)f=f.firstElementChild;return f}).append(this)),this},wrapInner:function(s){return $(s)?this.each(function(l){d(this).wrapInner(s.call(this,l))}):this.each(function(){var l=d(this),f=l.contents();f.length?f.wrapAll(s):l.append(s)})},wrap:function(s){var l=$(s);return this.each(function(f){d(this).wrapAll(l?s.call(this,f):s)})},unwrap:function(s){return this.parent(s).not("body").each(function(){d(this).replaceWith(this.childNodes)}),this}}),d.expr.pseudos.hidden=function(s){return!d.expr.pseudos.visible(s)},d.expr.pseudos.visible=function(s){return!!(s.offsetWidth||s.offsetHeight||s.getClientRects().length)},d.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var cc={0:200,1223:204},pt=d.ajaxSettings.xhr();U.cors=!!pt&&"withCredentials"in pt,U.ajax=pt=!!pt,d.ajaxTransport(function(s){var l,f;if(U.cors||pt&&!s.crossDomain)return{send:function(p,m){var y,b=s.xhr();if(b.open(s.type,s.url,s.async,s.username,s.password),s.xhrFields)for(y in s.xhrFields)b[y]=s.xhrFields[y];s.mimeType&&b.overrideMimeType&&b.overrideMimeType(s.mimeType),!s.crossDomain&&!p["X-Requested-With"]&&(p["X-Requested-With"]="XMLHttpRequest");for(y in p)b.setRequestHeader(y,p[y]);l=function(M){return function(){l&&(l=f=b.onload=b.onerror=b.onabort=b.ontimeout=b.onreadystatechange=null,M==="abort"?b.abort():M==="error"?typeof b.status!="number"?m(0,"error"):m(b.status,b.statusText):m(cc[b.status]||b.status,b.statusText,(b.responseType||"text")!=="text"||typeof b.responseText!="string"?{binary:b.response}:{text:b.responseText},b.getAllResponseHeaders()))}},b.onload=l(),f=b.onerror=b.ontimeout=l("error"),b.onabort!==void 0?b.onabort=f:b.onreadystatechange=function(){b.readyState===4&&t.setTimeout(function(){l&&f()})},l=l("abort");try{b.send(s.hasContent&&s.data||null)}catch(M){if(l)throw M}},abort:function(){l&&l()}}}),d.ajaxPrefilter(function(s){s.crossDomain&&(s.contents.script=!1)}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(s){return d.globalEval(s),s}}}),d.ajaxPrefilter("script",function(s){s.cache===void 0&&(s.cache=!1),s.crossDomain&&(s.type="GET")}),d.ajaxTransport("script",function(s){if(s.crossDomain||s.scriptAttrs){var l,f;return{send:function(p,m){l=d("<script>").attr(s.scriptAttrs||{}).prop({charset:s.scriptCharset,src:s.url}).on("load error",f=function(y){l.remove(),f=null,y&&m(y.type==="error"?404:200,y.type)}),H.head.appendChild(l[0])},abort:function(){f&&f()}}}});var Ds=[],ur=/(=)\?(?=&|$)|\?\?/;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var s=Ds.pop()||d.expando+"_"+ma.guid++;return this[s]=!0,s}}),d.ajaxPrefilter("json jsonp",function(s,l,f){var p,m,y,b=s.jsonp!==!1&&(ur.test(s.url)?"url":typeof s.data=="string"&&(s.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ur.test(s.data)&&"data");if(b||s.dataTypes[0]==="jsonp")return p=s.jsonpCallback=$(s.jsonpCallback)?s.jsonpCallback():s.jsonpCallback,b?s[b]=s[b].replace(ur,"$1"+p):s.jsonp!==!1&&(s.url+=(ks.test(s.url)?"&":"?")+s.jsonp+"="+p),s.converters["script json"]=function(){return y||d.error(p+" was not called"),y[0]},s.dataTypes[0]="json",m=t[p],t[p]=function(){y=arguments},f.always(function(){m===void 0?d(t).removeProp(p):t[p]=m,s[p]&&(s.jsonpCallback=l.jsonpCallback,Ds.push(p)),y&&$(m)&&m(y[0]),y=m=void 0}),"script"}),U.createHTMLDocument=function(){var s=H.implementation.createHTMLDocument("").body;return s.innerHTML="<form></form><form></form>",s.childNodes.length===2}(),d.parseHTML=function(s,l,f){if(typeof s!="string")return[];typeof l=="boolean"&&(f=l,l=!1);var p,m,y;return l||(U.createHTMLDocument?(l=H.implementation.createHTMLDocument(""),p=l.createElement("base"),p.href=H.location.href,l.head.appendChild(p)):l=H),m=wt.exec(s),y=!f&&[],m?[l.createElement(m[1])]:(m=vo([s],l,y),y&&y.length&&d(y).remove(),d.merge([],m.childNodes))},d.fn.load=function(s,l,f){var p,m,y,b=this,M=s.indexOf(" ");return M>-1&&(p=Sr(s.slice(M)),s=s.slice(0,M)),$(l)?(f=l,l=void 0):l&&typeof l=="object"&&(m="POST"),b.length>0&&d.ajax({url:s,type:m||"GET",dataType:"html",data:l}).done(function(C){y=arguments,b.html(p?d("<div>").append(d.parseHTML(C)).find(p):C)}).always(f&&function(C,N){b.each(function(){f.apply(this,y||[C.responseText,N,C])})}),this},d.expr.pseudos.animated=function(s){return d.grep(d.timers,function(l){return s===l.elem}).length},d.offset={setOffset:function(s,l,f){var p,m,y,b,M,C,N,q=d.css(s,"position"),z=d(s),Y={};q==="static"&&(s.style.position="relative"),M=z.offset(),y=d.css(s,"top"),C=d.css(s,"left"),N=(q==="absolute"||q==="fixed")&&(y+C).indexOf("auto")>-1,N?(p=z.position(),b=p.top,m=p.left):(b=parseFloat(y)||0,m=parseFloat(C)||0),$(l)&&(l=l.call(s,f,d.extend({},M))),l.top!=null&&(Y.top=l.top-M.top+b),l.left!=null&&(Y.left=l.left-M.left+m),"using"in l?l.using.call(s,Y):z.css(Y)}},d.fn.extend({offset:function(s){if(arguments.length)return s===void 0?this:this.each(function(m){d.offset.setOffset(this,s,m)});var l,f,p=this[0];if(p)return p.getClientRects().length?(l=p.getBoundingClientRect(),f=p.ownerDocument.defaultView,{top:l.top+f.pageYOffset,left:l.left+f.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var s,l,f,p=this[0],m={top:0,left:0};if(d.css(p,"position")==="fixed")l=p.getBoundingClientRect();else{for(l=this.offset(),f=p.ownerDocument,s=p.offsetParent||f.documentElement;s&&(s===f.body||s===f.documentElement)&&d.css(s,"position")==="static";)s=s.parentNode;s&&s!==p&&s.nodeType===1&&(m=d(s).offset(),m.top+=d.css(s,"borderTopWidth",!0),m.left+=d.css(s,"borderLeftWidth",!0))}return{top:l.top-m.top-d.css(p,"marginTop",!0),left:l.left-m.left-d.css(p,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var s=this.offsetParent;s&&d.css(s,"position")==="static";)s=s.offsetParent;return s||or})}}),d.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(s,l){var f=l==="pageYOffset";d.fn[s]=function(p){return dn(this,function(m,y,b){var M;if(ne(m)?M=m:m.nodeType===9&&(M=m.defaultView),b===void 0)return M?M[l]:m[y];M?M.scrollTo(f?M.pageXOffset:b,f?b:M.pageYOffset):m[y]=b},s,p,arguments.length)}}),d.each(["top","left"],function(s,l){d.cssHooks[l]=Vi(U.pixelPosition,function(f,p){if(p)return p=zi(f,l),aa.test(p)?d(f).position()[l]+"px":p})}),d.each({Height:"height",Width:"width"},function(s,l){d.each({padding:"inner"+s,content:l,"":"outer"+s},function(f,p){d.fn[p]=function(m,y){var b=arguments.length&&(f||typeof m!="boolean"),M=f||(m===!0||y===!0?"margin":"border");return dn(this,function(C,N,q){var z;return ne(C)?p.indexOf("outer")===0?C["inner"+s]:C.document.documentElement["client"+s]:C.nodeType===9?(z=C.documentElement,Math.max(C.body["scroll"+s],z["scroll"+s],C.body["offset"+s],z["offset"+s],z["client"+s])):q===void 0?d.css(C,N,M):d.style(C,N,q,M)},l,b?m:void 0,b)}})}),d.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(s,l){d.fn[l]=function(f){return this.on(l,f)}}),d.fn.extend({bind:function(s,l,f){return this.on(s,null,l,f)},unbind:function(s,l){return this.off(s,null,l)},delegate:function(s,l,f,p){return this.on(l,s,f,p)},undelegate:function(s,l,f){return arguments.length===1?this.off(s,"**"):this.off(l,s||"**",f)},hover:function(s,l){return this.on("mouseenter",s).on("mouseleave",l||s)}}),d.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(s,l){d.fn[l]=function(f,p){return arguments.length>0?this.on(l,null,f,p):this.trigger(l)}});var Bo=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;d.proxy=function(s,l){var f,p,m;if(typeof l=="string"&&(f=s[l],l=s,s=f),!!$(s))return p=c.call(arguments,2),m=function(){return s.apply(l||this,p.concat(c.call(arguments)))},m.guid=s.guid=s.guid||d.guid++,m},d.holdReady=function(s){s?d.readyWait++:d.ready(!0)},d.isArray=Array.isArray,d.parseJSON=JSON.parse,d.nodeName=le,d.isFunction=$,d.isWindow=ne,d.camelCase=$t,d.type=ye,d.now=Date.now,d.isNumeric=function(s){var l=d.type(s);return(l==="number"||l==="string")&&!isNaN(s-parseFloat(s))},d.trim=function(s){return s==null?"":(s+"").replace(Bo,"$1")};var xa=t.jQuery,gn=t.$;return d.noConflict=function(s){return t.$===d&&(t.$=gn),s&&t.jQuery===d&&(t.jQuery=xa),d},typeof r>"u"&&(t.jQuery=t.$=d),d})}(gf)),gf.exports}var hO=w0();const pO=J.getDefaultExportFromCjs(hO);var gO={exports:{}};const mO=J.getAugmentedNamespace(dO);/**
|
|
143
|
+
* @version: 3.1
|
|
144
|
+
* @author: Dan Grossman http://www.dangrossman.info/
|
|
145
|
+
* @copyright: Copyright (c) 2012-2019 Dan Grossman. All rights reserved.
|
|
146
|
+
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
|
|
147
|
+
* @website: http://www.daterangepicker.com/
|
|
148
|
+
*/(function(e){(function(t,r){if(e.exports){var a=typeof window<"u"?window.jQuery:void 0;a||(a=w0(),a.fn||(a.fn={}));var o=typeof window<"u"&&typeof window.moment<"u"?window.moment:mO;e.exports=r(o,a)}else t.daterangepicker=r(t.moment,t.jQuery)})(J.commonjsGlobal,function(t,r){var a=function(o,c,g){if(this.parentEl="body",this.element=r(o),this.startDate=t().startOf("day"),this.endDate=t().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=t().subtract(100,"year").format("YYYY"),this.maxYear=t().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:t.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:t.weekdaysMin(),monthNames:t.monthsShort(),firstDay:t.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},(typeof c!="object"||c===null)&&(c={}),c=r.extend(this.element.data(),c),typeof c.template!="string"&&!(c.template instanceof r)&&(c.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=c.parentEl&&r(c.parentEl).length?r(c.parentEl):r(this.parentEl),this.container=r(c.template).appendTo(this.parentEl),typeof c.locale=="object"&&(typeof c.locale.direction=="string"&&(this.locale.direction=c.locale.direction),typeof c.locale.format=="string"&&(this.locale.format=c.locale.format),typeof c.locale.separator=="string"&&(this.locale.separator=c.locale.separator),typeof c.locale.daysOfWeek=="object"&&(this.locale.daysOfWeek=c.locale.daysOfWeek.slice()),typeof c.locale.monthNames=="object"&&(this.locale.monthNames=c.locale.monthNames.slice()),typeof c.locale.firstDay=="number"&&(this.locale.firstDay=c.locale.firstDay),typeof c.locale.applyLabel=="string"&&(this.locale.applyLabel=c.locale.applyLabel),typeof c.locale.cancelLabel=="string"&&(this.locale.cancelLabel=c.locale.cancelLabel),typeof c.locale.weekLabel=="string"&&(this.locale.weekLabel=c.locale.weekLabel),typeof c.locale.customRangeLabel=="string")){var w=document.createElement("textarea");w.innerHTML=c.locale.customRangeLabel;var k=w.value;this.locale.customRangeLabel=k}if(this.container.addClass(this.locale.direction),typeof c.startDate=="string"&&(this.startDate=t(c.startDate,this.locale.format)),typeof c.endDate=="string"&&(this.endDate=t(c.endDate,this.locale.format)),typeof c.minDate=="string"&&(this.minDate=t(c.minDate,this.locale.format)),typeof c.maxDate=="string"&&(this.maxDate=t(c.maxDate,this.locale.format)),typeof c.startDate=="object"&&(this.startDate=t(c.startDate)),typeof c.endDate=="object"&&(this.endDate=t(c.endDate)),typeof c.minDate=="object"&&(this.minDate=t(c.minDate)),typeof c.maxDate=="object"&&(this.maxDate=t(c.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),typeof c.applyButtonClasses=="string"&&(this.applyButtonClasses=c.applyButtonClasses),typeof c.applyClass=="string"&&(this.applyButtonClasses=c.applyClass),typeof c.cancelButtonClasses=="string"&&(this.cancelButtonClasses=c.cancelButtonClasses),typeof c.cancelClass=="string"&&(this.cancelButtonClasses=c.cancelClass),typeof c.maxSpan=="object"&&(this.maxSpan=c.maxSpan),typeof c.dateLimit=="object"&&(this.maxSpan=c.dateLimit),typeof c.opens=="string"&&(this.opens=c.opens),typeof c.drops=="string"&&(this.drops=c.drops),typeof c.showWeekNumbers=="boolean"&&(this.showWeekNumbers=c.showWeekNumbers),typeof c.showISOWeekNumbers=="boolean"&&(this.showISOWeekNumbers=c.showISOWeekNumbers),typeof c.buttonClasses=="string"&&(this.buttonClasses=c.buttonClasses),typeof c.buttonClasses=="object"&&(this.buttonClasses=c.buttonClasses.join(" ")),typeof c.showDropdowns=="boolean"&&(this.showDropdowns=c.showDropdowns),typeof c.minYear=="number"&&(this.minYear=c.minYear),typeof c.maxYear=="number"&&(this.maxYear=c.maxYear),typeof c.showCustomRangeLabel=="boolean"&&(this.showCustomRangeLabel=c.showCustomRangeLabel),typeof c.singleDatePicker=="boolean"&&(this.singleDatePicker=c.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),typeof c.timePicker=="boolean"&&(this.timePicker=c.timePicker),typeof c.timePickerSeconds=="boolean"&&(this.timePickerSeconds=c.timePickerSeconds),typeof c.timePickerIncrement=="number"&&(this.timePickerIncrement=c.timePickerIncrement),typeof c.timePicker24Hour=="boolean"&&(this.timePicker24Hour=c.timePicker24Hour),typeof c.autoApply=="boolean"&&(this.autoApply=c.autoApply),typeof c.autoUpdateInput=="boolean"&&(this.autoUpdateInput=c.autoUpdateInput),typeof c.linkedCalendars=="boolean"&&(this.linkedCalendars=c.linkedCalendars),typeof c.isInvalidDate=="function"&&(this.isInvalidDate=c.isInvalidDate),typeof c.isCustomDate=="function"&&(this.isCustomDate=c.isCustomDate),typeof c.alwaysShowCalendars=="boolean"&&(this.alwaysShowCalendars=c.alwaysShowCalendars),this.locale.firstDay!=0)for(var E=this.locale.firstDay;E>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),E--;var P,W,j;if(typeof c.startDate>"u"&&typeof c.endDate>"u"&&r(this.element).is(":text")){var G=r(this.element).val(),U=G.split(this.locale.separator);P=W=null,U.length==2?(P=t(U[0],this.locale.format),W=t(U[1],this.locale.format)):this.singleDatePicker&&G!==""&&(P=t(G,this.locale.format),W=t(G,this.locale.format)),P!==null&&W!==null&&(this.setStartDate(P),this.setEndDate(W))}if(typeof c.ranges=="object"){for(j in c.ranges){typeof c.ranges[j][0]=="string"?P=t(c.ranges[j][0],this.locale.format):P=t(c.ranges[j][0]),typeof c.ranges[j][1]=="string"?W=t(c.ranges[j][1],this.locale.format):W=t(c.ranges[j][1]),this.minDate&&P.isBefore(this.minDate)&&(P=this.minDate.clone());var $=this.maxDate;if(this.maxSpan&&$&&P.clone().add(this.maxSpan).isAfter($)&&($=P.clone().add(this.maxSpan)),$&&W.isAfter($)&&(W=$.clone()),!(this.minDate&&W.isBefore(this.minDate,this.timepicker?"minute":"day")||$&&P.isAfter($,this.timepicker?"minute":"day"))){var w=document.createElement("textarea");w.innerHTML=j;var k=w.value;this.ranges[k]=[P,W]}}var ne="<ul>";for(j in this.ranges)ne+='<li data-range-key="'+j+'">'+j+"</li>";this.showCustomRangeLabel&&(ne+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),ne+="</ul>",this.container.find(".ranges").prepend(ne)}typeof g=="function"&&(this.callback=g),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),typeof c.ranges=="object"&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),!this.timePicker&&this.autoApply&&this.container.addClass("auto-apply")),(typeof c.ranges>"u"&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",r.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",r.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",r.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",r.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",r.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",r.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",r.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",r.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",r.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",r.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":r.proxy(this.show,this),"focus.daterangepicker":r.proxy(this.show,this),"keyup.daterangepicker":r.proxy(this.elementChanged,this),"keydown.daterangepicker":r.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",r.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",r.proxy(this.toggle,this))),this.updateElement()};return a.prototype={constructor:a,setStartDate:function(o){typeof o=="string"&&(this.startDate=t(o,this.locale.format)),typeof o=="object"&&(this.startDate=t(o)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(o){typeof o=="string"&&(this.endDate=t(o,this.locale.format)),typeof o=="object"&&(this.endDate=t(o)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").prop("disabled",!1).removeClass("disabled"):this.container.find(".right .calendar-time select").prop("disabled",!0).addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),!this.linkedCalendars&&(this.endDate.month()!=this.startDate.month()||this.endDate.year()!=this.startDate.year())?this.rightCalendar.month=this.endDate.clone().date(2):this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month")}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){if(this.timePicker){var o,c,g;if(this.endDate){if(o=parseInt(this.container.find(".left .hourselect").val(),10),c=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(c)&&(c=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),g=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour){var w=this.container.find(".left .ampmselect").val();w==="PM"&&o<12&&(o+=12),w==="AM"&&o===12&&(o=0)}}else if(o=parseInt(this.container.find(".right .hourselect").val(),10),c=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(c)&&(c=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),g=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour){var w=this.container.find(".right .ampmselect").val();w==="PM"&&o<12&&(o+=12),w==="AM"&&o===12&&(o=0)}this.leftCalendar.month.hour(o).minute(c).second(g),this.rightCalendar.month.hour(o).minute(c).second(g)}this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),this.endDate!=null&&this.calculateChosenLabel()},renderCalendar:function(o){var H=o=="left"?this.leftCalendar:this.rightCalendar,c=H.month.month(),g=H.month.year(),w=H.month.hour(),k=H.month.minute(),E=H.month.second(),P=t([g,c]).daysInMonth(),W=t([g,c,1]),j=t([g,c,P]),G=t(W).subtract(1,"month").month(),U=t(W).subtract(1,"month").year(),$=t([U,G]).daysInMonth(),ne=W.day(),H=[];H.firstDay=W,H.lastDay=j;for(var pe=0;pe<6;pe++)H[pe]=[];var me=$-ne+this.locale.firstDay+1;me>$&&(me-=7),ne==this.locale.firstDay&&(me=$-6);for(var ye=t([U,G,me,12,k,E]),re,ie,pe=0,re=0,ie=0;pe<42;pe++,re++,ye=t(ye).add(24,"hour"))pe>0&&re%7===0&&(re=0,ie++),H[ie][re]=ye.clone().hour(w).minute(k).second(E),ye.hour(12),this.minDate&&H[ie][re].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&H[ie][re].isBefore(this.minDate)&&o=="left"&&(H[ie][re]=this.minDate.clone()),this.maxDate&&H[ie][re].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&H[ie][re].isAfter(this.maxDate)&&o=="right"&&(H[ie][re]=this.maxDate.clone());o=="left"?this.leftCalendar.calendar=H:this.rightCalendar.calendar=H;var d=o=="left"?this.minDate:this.startDate,Le=this.maxDate;o=="left"?this.startDate:this.endDate,this.locale.direction=="ltr";var le='<table class="table-condensed">';le+="<thead>",le+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(le+="<th></th>"),(!d||d.isBefore(H.firstDay))&&(!this.linkedCalendars||o=="left")?le+='<th class="prev available"><span></span></th>':le+="<th></th>";var at=this.locale.monthNames[H[1][1].month()]+H[1][1].format(" YYYY");if(this.showDropdowns){for(var Ue=H[1][1].month(),Je=H[1][1].year(),xe=Le&&Le.year()||this.maxYear,ot=d&&d.year()||this.minYear,_t=Je==ot,Et=Je==xe,ze='<select class="monthselect">',Ye=0;Ye<12;Ye++)(!_t||d&&Ye>=d.month())&&(!Et||Le&&Ye<=Le.month())?ze+="<option value='"+Ye+"'"+(Ye===Ue?" selected='selected'":"")+">"+this.locale.monthNames[Ye]+"</option>":ze+="<option value='"+Ye+"'"+(Ye===Ue?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[Ye]+"</option>";ze+="</select>";for(var ft='<select class="yearselect">',Mt=ot;Mt<=xe;Mt++)ft+='<option value="'+Mt+'"'+(Mt===Je?' selected="selected"':"")+">"+Mt+"</option>";ft+="</select>",at=ze+ft}if(le+='<th colspan="5" class="month">'+at+"</th>",(!Le||Le.isAfter(H.lastDay))&&(!this.linkedCalendars||o=="right"||this.singleDatePicker)?le+='<th class="next available"><span></span></th>':le+="<th></th>",le+="</tr>",le+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(le+='<th class="week">'+this.locale.weekLabel+"</th>"),r.each(this.locale.daysOfWeek,function(sr,ji){le+="<th>"+ji+"</th>"}),le+="</tr>",le+="</thead>",le+="<tbody>",this.endDate==null&&this.maxSpan){var Nt=this.startDate.clone().add(this.maxSpan).endOf("day");(!Le||Nt.isBefore(Le))&&(Le=Nt)}for(var ie=0;ie<6;ie++){le+="<tr>",this.showWeekNumbers?le+='<td class="week">'+H[ie][0].week()+"</td>":this.showISOWeekNumbers&&(le+='<td class="week">'+H[ie][0].isoWeek()+"</td>");for(var re=0;re<7;re++){var wt=[];H[ie][re].isSame(new Date,"day")&&wt.push("today"),H[ie][re].isoWeekday()>5&&wt.push("weekend"),H[ie][re].month()!=H[1][1].month()&&wt.push("off","ends"),this.minDate&&H[ie][re].isBefore(this.minDate,"day")&&wt.push("off","disabled"),Le&&H[ie][re].isAfter(Le,"day")&&wt.push("off","disabled"),this.isInvalidDate(H[ie][re])&&wt.push("off","disabled"),H[ie][re].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&wt.push("active","start-date"),this.endDate!=null&&H[ie][re].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&wt.push("active","end-date"),this.endDate!=null&&H[ie][re]>this.startDate&&H[ie][re]<this.endDate&&wt.push("in-range");var $n=this.isCustomDate(H[ie][re]);$n!==!1&&(typeof $n=="string"?wt.push($n):Array.prototype.push.apply(wt,$n));for(var zt="",Vt=!1,pe=0;pe<wt.length;pe++)zt+=wt[pe]+" ",wt[pe]=="disabled"&&(Vt=!0);Vt||(zt+="available"),le+='<td class="'+zt.replace(/^\s+|\s+$/g,"")+'" data-title="r'+ie+"c"+re+'">'+H[ie][re].date()+"</td>"}le+="</tr>"}le+="</tbody>",le+="</table>",this.container.find(".drp-calendar."+o+" .calendar-table").html(le)},renderTimePicker:function(o){if(!(o=="right"&&!this.endDate)){var c,g,w,k=this.maxDate;if(this.maxSpan&&(!this.maxDate||this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate))&&(k=this.startDate.clone().add(this.maxSpan)),o=="left")g=this.startDate.clone(),w=this.minDate;else if(o=="right"){g=this.endDate.clone(),w=this.startDate;var E=this.container.find(".drp-calendar.right .calendar-time");if(E.html()!=""&&(g.hour(isNaN(g.hour())?E.find(".hourselect option:selected").val():g.hour()),g.minute(isNaN(g.minute())?E.find(".minuteselect option:selected").val():g.minute()),g.second(isNaN(g.second())?E.find(".secondselect option:selected").val():g.second()),!this.timePicker24Hour)){var P=E.find(".ampmselect option:selected").val();P==="PM"&&g.hour()<12&&g.hour(g.hour()+12),P==="AM"&&g.hour()===12&&g.hour(0)}g.isBefore(this.startDate)&&(g=this.startDate.clone()),k&&g.isAfter(k)&&(g=k.clone())}c='<select class="hourselect">';for(var W=this.timePicker24Hour?0:1,j=this.timePicker24Hour?23:12,G=W;G<=j;G++){var U=G;this.timePicker24Hour||(U=g.hour()>=12?G==12?12:G+12:G==12?0:G);var $=g.clone().hour(U),ne=!1;w&&$.minute(59).isBefore(w)&&(ne=!0),k&&$.minute(0).isAfter(k)&&(ne=!0),U==g.hour()&&!ne?c+='<option value="'+G+'" selected="selected">'+G+"</option>":ne?c+='<option value="'+G+'" disabled="disabled" class="disabled">'+G+"</option>":c+='<option value="'+G+'">'+G+"</option>"}c+="</select> ",c+=': <select class="minuteselect">';for(var G=0;G<60;G+=this.timePickerIncrement){var H=G<10?"0"+G:G,$=g.clone().minute(G),ne=!1;w&&$.second(59).isBefore(w)&&(ne=!0),k&&$.second(0).isAfter(k)&&(ne=!0),g.minute()==G&&!ne?c+='<option value="'+G+'" selected="selected">'+H+"</option>":ne?c+='<option value="'+G+'" disabled="disabled" class="disabled">'+H+"</option>":c+='<option value="'+G+'">'+H+"</option>"}if(c+="</select> ",this.timePickerSeconds){c+=': <select class="secondselect">';for(var G=0;G<60;G++){var H=G<10?"0"+G:G,$=g.clone().second(G),ne=!1;w&&$.isBefore(w)&&(ne=!0),k&&$.isAfter(k)&&(ne=!0),g.second()==G&&!ne?c+='<option value="'+G+'" selected="selected">'+H+"</option>":ne?c+='<option value="'+G+'" disabled="disabled" class="disabled">'+H+"</option>":c+='<option value="'+G+'">'+H+"</option>"}c+="</select> "}if(!this.timePicker24Hour){c+='<select class="ampmselect">';var pe="",me="";w&&g.clone().hour(12).minute(0).second(0).isBefore(w)&&(pe=' disabled="disabled" class="disabled"'),k&&g.clone().hour(0).minute(0).second(0).isAfter(k)&&(me=' disabled="disabled" class="disabled"'),g.hour()>=12?c+='<option value="AM"'+pe+'>AM</option><option value="PM" selected="selected"'+me+">PM</option>":c+='<option value="AM" selected="selected"'+pe+'>AM</option><option value="PM"'+me+">PM</option>",c+="</select>"}this.container.find(".drp-calendar."+o+" .calendar-time").html(c)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").prop("disabled",!1):this.container.find("button.applyBtn").prop("disabled",!0)},move:function(){var o={top:0,left:0},c,g=this.drops,w=r(window).width();switch(this.parentEl.is("body")||(o={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},w=this.parentEl[0].clientWidth+this.parentEl.offset().left),g){case"auto":c=this.element.offset().top+this.element.outerHeight()-o.top,c+this.container.outerHeight()>=this.parentEl[0].scrollHeight&&(c=this.element.offset().top-this.container.outerHeight()-o.top,g="up");break;case"up":c=this.element.offset().top-this.container.outerHeight()-o.top;break;default:c=this.element.offset().top+this.element.outerHeight()-o.top;break}this.container.css({top:0,left:0,right:"auto"});var k=this.container.outerWidth();if(this.container.toggleClass("drop-up",g=="up"),this.opens=="left"){var E=w-this.element.offset().left-this.element.outerWidth();k+E>r(window).width()?this.container.css({top:c,right:"auto",left:9}):this.container.css({top:c,right:E,left:"auto"})}else if(this.opens=="center"){var P=this.element.offset().left-o.left+this.element.outerWidth()/2-k/2;P<0?this.container.css({top:c,right:"auto",left:9}):P+k>r(window).width()?this.container.css({top:c,left:"auto",right:0}):this.container.css({top:c,left:P,right:"auto"})}else{var P=this.element.offset().left-o.left;P+k>r(window).width()?this.container.css({top:c,left:"auto",right:0}):this.container.css({top:c,left:P,right:"auto"})}},show:function(o){this.isShowing||(this._outsideClickProxy=r.proxy(function(c){this.outsideClick(c)},this),r(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),r(window).on("resize.daterangepicker",r.proxy(function(c){this.move(c)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(o){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),(!this.startDate.isSame(this.oldStartDate)||!this.endDate.isSame(this.oldEndDate))&&this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),r(document).off(".daterangepicker"),r(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(o){this.isShowing?this.hide():this.show()},outsideClick:function(o){var c=r(o.target);o.type=="focusin"||c.closest(this.element).length||c.closest(this.container).length||c.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(o){var c=o.target.getAttribute("data-range-key");if(this.chosenLabel=c,c==this.locale.customRangeLabel)this.showCalendars();else{var g=this.ranges[c];this.startDate=g[0],this.endDate=g[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(o){var c=r(o.target).parents(".drp-calendar");c.hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(o){var c=r(o.target).parents(".drp-calendar");c.hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(o){if(r(o.target).hasClass("available")){var c=r(o.target).attr("data-title"),g=c.substr(1,1),w=c.substr(3,1),k=r(o.target).parents(".drp-calendar"),E=k.hasClass("left")?this.leftCalendar.calendar[g][w]:this.rightCalendar.calendar[g][w],P=this.leftCalendar,W=this.rightCalendar,j=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(G,U){if(!r(U).hasClass("week")){var $=r(U).attr("data-title"),ne=$.substr(1,1),H=$.substr(3,1),pe=r(U).parents(".drp-calendar"),me=pe.hasClass("left")?P.calendar[ne][H]:W.calendar[ne][H];me.isAfter(j)&&me.isBefore(E)||me.isSame(E,"day")?r(U).addClass("in-range"):r(U).removeClass("in-range")}})}},clickDate:function(o){if(r(o.target).hasClass("available")){var c=r(o.target).attr("data-title"),g=c.substr(1,1),w=c.substr(3,1),k=r(o.target).parents(".drp-calendar"),E=k.hasClass("left")?this.leftCalendar.calendar[g][w]:this.rightCalendar.calendar[g][w];if(this.endDate||E.isBefore(this.startDate,"day")){if(this.timePicker){var P=parseInt(this.container.find(".left .hourselect").val(),10);if(!this.timePicker24Hour){var W=this.container.find(".left .ampmselect").val();W==="PM"&&P<12&&(P+=12),W==="AM"&&P===12&&(P=0)}var j=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(j)&&(j=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var G=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;E=E.clone().hour(P).minute(j).second(G)}this.endDate=null,this.setStartDate(E.clone())}else if(!this.endDate&&E.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var P=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour){var W=this.container.find(".right .ampmselect").val();W==="PM"&&P<12&&(P+=12),W==="AM"&&P===12&&(P=0)}var j=parseInt(this.container.find(".right .minuteselect").val(),10);isNaN(j)&&(j=parseInt(this.container.find(".right .minuteselect option:last").val(),10));var G=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;E=E.clone().hour(P).minute(j).second(G)}this.setEndDate(E.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),!this.timePicker&&this.autoApply&&this.clickApply()),this.updateView(),o.stopPropagation()}},calculateChosenLabel:function(){var o=!0,c=0;for(var g in this.ranges){if(this.timePicker){var w=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(w)==this.ranges[g][0].format(w)&&this.endDate.format(w)==this.ranges[g][1].format(w)){o=!1,this.chosenLabel=this.container.find(".ranges li:eq("+c+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[g][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[g][1].format("YYYY-MM-DD")){o=!1,this.chosenLabel=this.container.find(".ranges li:eq("+c+")").addClass("active").attr("data-range-key");break}c++}o&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(o){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(o){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(o){var c=r(o.target).closest(".drp-calendar").hasClass("left"),g=c?"left":"right",w=this.container.find(".drp-calendar."+g),k=parseInt(w.find(".monthselect").val(),10),E=w.find(".yearselect").val();c||(E<this.startDate.year()||E==this.startDate.year()&&k<this.startDate.month())&&(k=this.startDate.month(),E=this.startDate.year()),this.minDate&&(E<this.minDate.year()||E==this.minDate.year()&&k<this.minDate.month())&&(k=this.minDate.month(),E=this.minDate.year()),this.maxDate&&(E>this.maxDate.year()||E==this.maxDate.year()&&k>this.maxDate.month())&&(k=this.maxDate.month(),E=this.maxDate.year()),c?(this.leftCalendar.month.month(k).year(E),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(k).year(E),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(o){var c=r(o.target).closest(".drp-calendar"),g=c.hasClass("left"),w=parseInt(c.find(".hourselect").val(),10),k=parseInt(c.find(".minuteselect").val(),10);isNaN(k)&&(k=parseInt(c.find(".minuteselect option:last").val(),10));var E=this.timePickerSeconds?parseInt(c.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var P=c.find(".ampmselect").val();P==="PM"&&w<12&&(w+=12),P==="AM"&&w===12&&(w=0)}if(g){var W=this.startDate.clone();W.hour(w),W.minute(k),W.second(E),this.setStartDate(W),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==W.format("YYYY-MM-DD")&&this.endDate.isBefore(W)&&this.setEndDate(W.clone())}else if(this.endDate){var j=this.endDate.clone();j.hour(w),j.minute(k),j.second(E),this.setEndDate(j)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var o=this.element.val().split(this.locale.separator),c=null,g=null;o.length===2&&(c=t(o[0],this.locale.format),g=t(o[1],this.locale.format)),(this.singleDatePicker||c===null||g===null)&&(c=t(this.element.val(),this.locale.format),g=c),!(!c.isValid()||!g.isValid())&&(this.setStartDate(c),this.setEndDate(g),this.updateView())}},keydown:function(o){(o.keyCode===9||o.keyCode===13)&&this.hide(),o.keyCode===27&&(o.preventDefault(),o.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var o=this.startDate.format(this.locale.format);this.singleDatePicker||(o+=this.locale.separator+this.endDate.format(this.locale.format)),o!==this.element.val()&&this.element.val(o).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},r.fn.daterangepicker=function(o,c){var g=r.extend(!0,{},r.fn.daterangepicker.defaultOptions,o);return this.each(function(){var w=r(this);w.data("daterangepicker")&&w.data("daterangepicker").remove(),w.data("daterangepicker",new a(w,g,c))}),this},a})})(gO);var Wf=function(e,t){return Wf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(r[o]=a[o])},Wf(e,t)};function yO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Wf(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}(function(e){yO(t,e);function t(r){var a=e.call(this,r)||this;return a.ref=null,a.$picker=null,a}return t.prototype.componentDidMount=function(){var r=this;this.$picker=pO(this.ref),this.$picker.daterangepicker(this.props.initialSettings,this.handleCallback.bind(this)),["Show","Hide","ShowCalendar","HideCalendar","Apply","Cancel"].forEach(function(a){var o,c=a.charAt(0).toLowerCase()+a.slice(1);(o=r.$picker)===null||o===void 0||o.on(c+".daterangepicker",r.makeEventHandler("on"+a))})},t.prototype.componentWillUnmount=function(){var r,a;(a=(r=this.$picker)===null||r===void 0?void 0:r.data("daterangepicker"))===null||a===void 0||a.remove()},t.prototype.handleCallback=function(){for(var r,a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];typeof this.props.onCallback=="function"&&(r=this.props).onCallback.apply(r,a)},t.prototype.makeEventHandler=function(r){var a=this,o=this.props.onEvent;return function(c,g){typeof o=="function"&&o(c,g),typeof a.props[r]=="function"&&a.props[r](c,g)}},t.prototype.setStartDate=function(r){var a,o;(o=(a=this.$picker)===null||a===void 0?void 0:a.data("daterangepicker"))===null||o===void 0||o.setStartDate(r)},t.prototype.setEndDate=function(r){var a,o;(o=(a=this.$picker)===null||a===void 0?void 0:a.data("daterangepicker"))===null||o===void 0||o.setEndDate(r)},t.prototype.render=function(){var r=this,a=J.reactExports.Children.only(this.props.children);return J.reactExports.cloneElement(a,{ref:function(o){return r.ref=o}})},t})(J.reactExports.Component);Yr(e=>J.jsxRuntimeExports.jsx(aT,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,...e}))(({theme:e})=>({width:42,height:26,padding:0,"&.MuiSwitch-root":{margin:0,marginRight:8},"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:ve.color.primary,opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:e.palette.grey[100]},"&.Mui-disabled + .MuiSwitch-track":{opacity:.7}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:"#E9E9EA",opacity:1}}));/**
|
|
149
|
+
* @license
|
|
150
|
+
* Copyright 2017 Google LLC
|
|
151
|
+
*
|
|
152
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
153
|
+
* you may not use this file except in compliance with the License.
|
|
154
|
+
* You may obtain a copy of the License at
|
|
155
|
+
*
|
|
156
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
157
|
+
*
|
|
158
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
159
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
160
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
161
|
+
* See the License for the specific language governing permissions and
|
|
162
|
+
* limitations under the License.
|
|
163
|
+
*//**
|
|
164
|
+
* @license
|
|
165
|
+
* Copyright 2017 Google LLC
|
|
166
|
+
*
|
|
167
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
168
|
+
* you may not use this file except in compliance with the License.
|
|
169
|
+
* You may obtain a copy of the License at
|
|
170
|
+
*
|
|
171
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
172
|
+
*
|
|
173
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
174
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
175
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
176
|
+
* See the License for the specific language governing permissions and
|
|
177
|
+
* limitations under the License.
|
|
178
|
+
*/const x0=function(e){const t=[];let r=0;for(let a=0;a<e.length;a++){let o=e.charCodeAt(a);o<128?t[r++]=o:o<2048?(t[r++]=o>>6|192,t[r++]=o&63|128):(o&64512)===55296&&a+1<e.length&&(e.charCodeAt(a+1)&64512)===56320?(o=65536+((o&1023)<<10)+(e.charCodeAt(++a)&1023),t[r++]=o>>18|240,t[r++]=o>>12&63|128,t[r++]=o>>6&63|128,t[r++]=o&63|128):(t[r++]=o>>12|224,t[r++]=o>>6&63|128,t[r++]=o&63|128)}return t},vO=function(e){const t=[];let r=0,a=0;for(;r<e.length;){const o=e[r++];if(o<128)t[a++]=String.fromCharCode(o);else if(o>191&&o<224){const c=e[r++];t[a++]=String.fromCharCode((o&31)<<6|c&63)}else if(o>239&&o<365){const c=e[r++],g=e[r++],w=e[r++],k=((o&7)<<18|(c&63)<<12|(g&63)<<6|w&63)-65536;t[a++]=String.fromCharCode(55296+(k>>10)),t[a++]=String.fromCharCode(56320+(k&1023))}else{const c=e[r++],g=e[r++];t[a++]=String.fromCharCode((o&15)<<12|(c&63)<<6|g&63)}}return t.join("")},S0={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const r=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,a=[];for(let o=0;o<e.length;o+=3){const c=e[o],g=o+1<e.length,w=g?e[o+1]:0,k=o+2<e.length,E=k?e[o+2]:0,P=c>>2,W=(c&3)<<4|w>>4;let j=(w&15)<<2|E>>6,G=E&63;k||(G=64,g||(j=64)),a.push(r[P],r[W],r[j],r[G])}return a.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(x0(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):vO(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const r=t?this.charToByteMapWebSafe_:this.charToByteMap_,a=[];for(let o=0;o<e.length;){const c=r[e.charAt(o++)],w=o<e.length?r[e.charAt(o)]:0;++o;const E=o<e.length?r[e.charAt(o)]:64;++o;const W=o<e.length?r[e.charAt(o)]:64;if(++o,c==null||w==null||E==null||W==null)throw new bO;const j=c<<2|w>>4;if(a.push(j),E!==64){const G=w<<4&240|E>>2;if(a.push(G),W!==64){const U=E<<6&192|W;a.push(U)}}}return a},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class bO extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const _O=function(e){const t=x0(e);return S0.encodeByteArray(t,!0)},k0=function(e){return _O(e).replace(/\./g,"")},wO=function(e){try{return S0.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};/**
|
|
179
|
+
* @license
|
|
180
|
+
* Copyright 2022 Google LLC
|
|
181
|
+
*
|
|
182
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
183
|
+
* you may not use this file except in compliance with the License.
|
|
184
|
+
* You may obtain a copy of the License at
|
|
185
|
+
*
|
|
186
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
187
|
+
*
|
|
188
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
189
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
190
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
191
|
+
* See the License for the specific language governing permissions and
|
|
192
|
+
* limitations under the License.
|
|
193
|
+
*/function xO(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/**
|
|
194
|
+
* @license
|
|
195
|
+
* Copyright 2022 Google LLC
|
|
196
|
+
*
|
|
197
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
198
|
+
* you may not use this file except in compliance with the License.
|
|
199
|
+
* You may obtain a copy of the License at
|
|
200
|
+
*
|
|
201
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
202
|
+
*
|
|
203
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
204
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
205
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
206
|
+
* See the License for the specific language governing permissions and
|
|
207
|
+
* limitations under the License.
|
|
208
|
+
*/const SO=()=>xO().__FIREBASE_DEFAULTS__,kO=()=>{if(typeof process>"u"||typeof process.env>"u")return;const e=process.env.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)},DO=()=>{if(typeof document>"u")return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const t=e&&wO(e[1]);return t&&JSON.parse(t)},CO=()=>{try{return SO()||kO()||DO()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},D0=()=>{var e;return(e=CO())===null||e===void 0?void 0:e.config};/**
|
|
209
|
+
* @license
|
|
210
|
+
* Copyright 2017 Google LLC
|
|
211
|
+
*
|
|
212
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
213
|
+
* you may not use this file except in compliance with the License.
|
|
214
|
+
* You may obtain a copy of the License at
|
|
215
|
+
*
|
|
216
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
217
|
+
*
|
|
218
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
219
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
220
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
221
|
+
* See the License for the specific language governing permissions and
|
|
222
|
+
* limitations under the License.
|
|
223
|
+
*/class TO{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,r)=>{this.resolve=t,this.reject=r})}wrapCallback(t){return(r,a)=>{r?this.reject(r):this.resolve(a),typeof t=="function"&&(this.promise.catch(()=>{}),t.length===1?t(r):t(r,a))}}}function C0(){try{return typeof indexedDB=="object"}catch{return!1}}function T0(){return new Promise((e,t)=>{try{let r=!0;const a="validate-browser-context-for-indexeddb-analytics-module",o=self.indexedDB.open(a);o.onsuccess=()=>{o.result.close(),r||self.indexedDB.deleteDatabase(a),e(!0)},o.onupgradeneeded=()=>{r=!1},o.onerror=()=>{var c;t(((c=o.error)===null||c===void 0?void 0:c.message)||"")}}catch(r){t(r)}})}function EO(){return!(typeof navigator>"u"||!navigator.cookieEnabled)}/**
|
|
224
|
+
* @license
|
|
225
|
+
* Copyright 2017 Google LLC
|
|
226
|
+
*
|
|
227
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
228
|
+
* you may not use this file except in compliance with the License.
|
|
229
|
+
* You may obtain a copy of the License at
|
|
230
|
+
*
|
|
231
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
232
|
+
*
|
|
233
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
234
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
235
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
236
|
+
* See the License for the specific language governing permissions and
|
|
237
|
+
* limitations under the License.
|
|
238
|
+
*/const MO="FirebaseError";class ra extends Error{constructor(t,r,a){super(r),this.code=t,this.customData=a,this.name=MO,Object.setPrototypeOf(this,ra.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Bl.prototype.create)}}class Bl{constructor(t,r,a){this.service=t,this.serviceName=r,this.errors=a}create(t,...r){const a=r[0]||{},o=`${this.service}/${t}`,c=this.errors[t],g=c?AO(c,a):"Error",w=`${this.serviceName}: ${g} (${o}).`;return new ra(o,w,a)}}function AO(e,t){return e.replace(OO,(r,a)=>{const o=t[a];return o!=null?String(o):`<${a}?>`})}const OO=/\{\$([^}]+)}/g;function Bf(e,t){if(e===t)return!0;const r=Object.keys(e),a=Object.keys(t);for(const o of r){if(!a.includes(o))return!1;const c=e[o],g=t[o];if(wg(c)&&wg(g)){if(!Bf(c,g))return!1}else if(c!==g)return!1}for(const o of a)if(!r.includes(o))return!1;return!0}function wg(e){return e!==null&&typeof e=="object"}/**
|
|
239
|
+
* @license
|
|
240
|
+
* Copyright 2021 Google LLC
|
|
241
|
+
*
|
|
242
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
243
|
+
* you may not use this file except in compliance with the License.
|
|
244
|
+
* You may obtain a copy of the License at
|
|
245
|
+
*
|
|
246
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
247
|
+
*
|
|
248
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
249
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
250
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
251
|
+
* See the License for the specific language governing permissions and
|
|
252
|
+
* limitations under the License.
|
|
253
|
+
*/function IO(e){return e&&e._delegate?e._delegate:e}class Hi{constructor(t,r,a){this.name=t,this.instanceFactory=r,this.type=a,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}/**
|
|
254
|
+
* @license
|
|
255
|
+
* Copyright 2019 Google LLC
|
|
256
|
+
*
|
|
257
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
258
|
+
* you may not use this file except in compliance with the License.
|
|
259
|
+
* You may obtain a copy of the License at
|
|
260
|
+
*
|
|
261
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
262
|
+
*
|
|
263
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
264
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
265
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
266
|
+
* See the License for the specific language governing permissions and
|
|
267
|
+
* limitations under the License.
|
|
268
|
+
*/const os="[DEFAULT]";/**
|
|
269
|
+
* @license
|
|
270
|
+
* Copyright 2019 Google LLC
|
|
271
|
+
*
|
|
272
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
273
|
+
* you may not use this file except in compliance with the License.
|
|
274
|
+
* You may obtain a copy of the License at
|
|
275
|
+
*
|
|
276
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
277
|
+
*
|
|
278
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
279
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
280
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
281
|
+
* See the License for the specific language governing permissions and
|
|
282
|
+
* limitations under the License.
|
|
283
|
+
*/class RO{constructor(t,r){this.name=t,this.container=r,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const r=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(r)){const a=new TO;if(this.instancesDeferred.set(r,a),this.isInitialized(r)||this.shouldAutoInitialize())try{const o=this.getOrInitializeService({instanceIdentifier:r});o&&a.resolve(o)}catch{}}return this.instancesDeferred.get(r).promise}getImmediate(t){var r;const a=this.normalizeInstanceIdentifier(t==null?void 0:t.identifier),o=(r=t==null?void 0:t.optional)!==null&&r!==void 0?r:!1;if(this.isInitialized(a)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:a})}catch(c){if(o)return null;throw c}else{if(o)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,!!this.shouldAutoInitialize()){if(NO(t))try{this.getOrInitializeService({instanceIdentifier:os})}catch{}for(const[r,a]of this.instancesDeferred.entries()){const o=this.normalizeInstanceIdentifier(r);try{const c=this.getOrInitializeService({instanceIdentifier:o});a.resolve(c)}catch{}}}}clearInstance(t=os){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter(r=>"INTERNAL"in r).map(r=>r.INTERNAL.delete()),...t.filter(r=>"_delete"in r).map(r=>r._delete())])}isComponentSet(){return this.component!=null}isInitialized(t=os){return this.instances.has(t)}getOptions(t=os){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:r={}}=t,a=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(a))throw Error(`${this.name}(${a}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const o=this.getOrInitializeService({instanceIdentifier:a,options:r});for(const[c,g]of this.instancesDeferred.entries()){const w=this.normalizeInstanceIdentifier(c);a===w&&g.resolve(o)}return o}onInit(t,r){var a;const o=this.normalizeInstanceIdentifier(r),c=(a=this.onInitCallbacks.get(o))!==null&&a!==void 0?a:new Set;c.add(t),this.onInitCallbacks.set(o,c);const g=this.instances.get(o);return g&&t(g,o),()=>{c.delete(t)}}invokeOnInitCallbacks(t,r){const a=this.onInitCallbacks.get(r);if(a)for(const o of a)try{o(t,r)}catch{}}getOrInitializeService({instanceIdentifier:t,options:r={}}){let a=this.instances.get(t);if(!a&&this.component&&(a=this.component.instanceFactory(this.container,{instanceIdentifier:PO(t),options:r}),this.instances.set(t,a),this.instancesOptions.set(t,r),this.invokeOnInitCallbacks(a,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,a)}catch{}return a||null}normalizeInstanceIdentifier(t=os){return this.component?this.component.multipleInstances?t:os:t}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function PO(e){return e===os?void 0:e}function NO(e){return e.instantiationMode==="EAGER"}/**
|
|
284
|
+
* @license
|
|
285
|
+
* Copyright 2019 Google LLC
|
|
286
|
+
*
|
|
287
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
288
|
+
* you may not use this file except in compliance with the License.
|
|
289
|
+
* You may obtain a copy of the License at
|
|
290
|
+
*
|
|
291
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
292
|
+
*
|
|
293
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
294
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
295
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
296
|
+
* See the License for the specific language governing permissions and
|
|
297
|
+
* limitations under the License.
|
|
298
|
+
*/class LO{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const r=this.getProvider(t.name);if(r.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);r.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const r=new RO(t,this);return this.providers.set(t,r),r}getProviders(){return Array.from(this.providers.values())}}/**
|
|
299
|
+
* @license
|
|
300
|
+
* Copyright 2017 Google LLC
|
|
301
|
+
*
|
|
302
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
303
|
+
* you may not use this file except in compliance with the License.
|
|
304
|
+
* You may obtain a copy of the License at
|
|
305
|
+
*
|
|
306
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
307
|
+
*
|
|
308
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
309
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
310
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
311
|
+
* See the License for the specific language governing permissions and
|
|
312
|
+
* limitations under the License.
|
|
313
|
+
*/var ut;(function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"})(ut||(ut={}));const $O={debug:ut.DEBUG,verbose:ut.VERBOSE,info:ut.INFO,warn:ut.WARN,error:ut.ERROR,silent:ut.SILENT},FO=ut.INFO,YO={[ut.DEBUG]:"log",[ut.VERBOSE]:"log",[ut.INFO]:"info",[ut.WARN]:"warn",[ut.ERROR]:"error"},WO=(e,t,...r)=>{if(t<e.logLevel)return;const a=new Date().toISOString(),o=YO[t];if(o)console[o](`[${a}] ${e.name}:`,...r);else throw new Error(`Attempted to log a message with an invalid logType (value: ${t})`)};class BO{constructor(t){this.name=t,this._logLevel=FO,this._logHandler=WO,this._userLogHandler=null}get logLevel(){return this._logLevel}set logLevel(t){if(!(t in ut))throw new TypeError(`Invalid value "${t}" assigned to \`logLevel\``);this._logLevel=t}setLogLevel(t){this._logLevel=typeof t=="string"?$O[t]:t}get logHandler(){return this._logHandler}set logHandler(t){if(typeof t!="function")throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t}get userLogHandler(){return this._userLogHandler}set userLogHandler(t){this._userLogHandler=t}debug(...t){this._userLogHandler&&this._userLogHandler(this,ut.DEBUG,...t),this._logHandler(this,ut.DEBUG,...t)}log(...t){this._userLogHandler&&this._userLogHandler(this,ut.VERBOSE,...t),this._logHandler(this,ut.VERBOSE,...t)}info(...t){this._userLogHandler&&this._userLogHandler(this,ut.INFO,...t),this._logHandler(this,ut.INFO,...t)}warn(...t){this._userLogHandler&&this._userLogHandler(this,ut.WARN,...t),this._logHandler(this,ut.WARN,...t)}error(...t){this._userLogHandler&&this._userLogHandler(this,ut.ERROR,...t),this._logHandler(this,ut.ERROR,...t)}}const HO=(e,t)=>t.some(r=>e instanceof r);let xg,Sg;function jO(){return xg||(xg=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function UO(){return Sg||(Sg=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const E0=new WeakMap,Hf=new WeakMap,M0=new WeakMap,mf=new WeakMap,Fd=new WeakMap;function qO(e){const t=new Promise((r,a)=>{const o=()=>{e.removeEventListener("success",c),e.removeEventListener("error",g)},c=()=>{r(hi(e.result)),o()},g=()=>{a(e.error),o()};e.addEventListener("success",c),e.addEventListener("error",g)});return t.then(r=>{r instanceof IDBCursor&&E0.set(r,e)}).catch(()=>{}),Fd.set(t,e),t}function zO(e){if(Hf.has(e))return;const t=new Promise((r,a)=>{const o=()=>{e.removeEventListener("complete",c),e.removeEventListener("error",g),e.removeEventListener("abort",g)},c=()=>{r(),o()},g=()=>{a(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",c),e.addEventListener("error",g),e.addEventListener("abort",g)});Hf.set(e,t)}let jf={get(e,t,r){if(e instanceof IDBTransaction){if(t==="done")return Hf.get(e);if(t==="objectStoreNames")return e.objectStoreNames||M0.get(e);if(t==="store")return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return hi(e[t])},set(e,t,r){return e[t]=r,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function VO(e){jf=e(jf)}function GO(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...r){const a=e.call(yf(this),t,...r);return M0.set(a,t.sort?t.sort():[t]),hi(a)}:UO().includes(e)?function(...t){return e.apply(yf(this),t),hi(E0.get(this))}:function(...t){return hi(e.apply(yf(this),t))}}function KO(e){return typeof e=="function"?GO(e):(e instanceof IDBTransaction&&zO(e),HO(e,jO())?new Proxy(e,jf):e)}function hi(e){if(e instanceof IDBRequest)return qO(e);if(mf.has(e))return mf.get(e);const t=KO(e);return t!==e&&(mf.set(e,t),Fd.set(t,e)),t}const yf=e=>Fd.get(e);function Hl(e,t,{blocked:r,upgrade:a,blocking:o,terminated:c}={}){const g=indexedDB.open(e,t),w=hi(g);return a&&g.addEventListener("upgradeneeded",k=>{a(hi(g.result),k.oldVersion,k.newVersion,hi(g.transaction),k)}),r&&g.addEventListener("blocked",k=>r(k.oldVersion,k.newVersion,k)),w.then(k=>{c&&k.addEventListener("close",()=>c()),o&&k.addEventListener("versionchange",E=>o(E.oldVersion,E.newVersion,E))}).catch(()=>{}),w}function vf(e,{blocked:t}={}){const r=indexedDB.deleteDatabase(e);return t&&r.addEventListener("blocked",a=>t(a.oldVersion,a)),hi(r).then(()=>{})}const XO=["get","getKey","getAll","getAllKeys","count"],ZO=["put","add","delete","clear"],bf=new Map;function kg(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(bf.get(t))return bf.get(t);const r=t.replace(/FromIndex$/,""),a=t!==r,o=ZO.includes(r);if(!(r in(a?IDBIndex:IDBObjectStore).prototype)||!(o||XO.includes(r)))return;const c=async function(g,...w){const k=this.transaction(g,o?"readwrite":"readonly");let E=k.store;return a&&(E=E.index(w.shift())),(await Promise.all([E[r](...w),o&&k.done]))[0]};return bf.set(t,c),c}VO(e=>({...e,get:(t,r,a)=>kg(t,r)||e.get(t,r,a),has:(t,r)=>!!kg(t,r)||e.has(t,r)}));/**
|
|
314
|
+
* @license
|
|
315
|
+
* Copyright 2019 Google LLC
|
|
316
|
+
*
|
|
317
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
318
|
+
* you may not use this file except in compliance with the License.
|
|
319
|
+
* You may obtain a copy of the License at
|
|
320
|
+
*
|
|
321
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
322
|
+
*
|
|
323
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
324
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
325
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
326
|
+
* See the License for the specific language governing permissions and
|
|
327
|
+
* limitations under the License.
|
|
328
|
+
*/class JO{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(r=>{if(QO(r)){const a=r.getImmediate();return`${a.library}/${a.version}`}else return null}).filter(r=>r).join(" ")}}function QO(e){const t=e.getComponent();return(t==null?void 0:t.type)==="VERSION"}const Uf="@firebase/app",Dg="0.9.28";/**
|
|
329
|
+
* @license
|
|
330
|
+
* Copyright 2019 Google LLC
|
|
331
|
+
*
|
|
332
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
333
|
+
* you may not use this file except in compliance with the License.
|
|
334
|
+
* You may obtain a copy of the License at
|
|
335
|
+
*
|
|
336
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
337
|
+
*
|
|
338
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
339
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
340
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
341
|
+
* See the License for the specific language governing permissions and
|
|
342
|
+
* limitations under the License.
|
|
343
|
+
*/const ds=new BO("@firebase/app"),eI="@firebase/app-compat",tI="@firebase/analytics-compat",nI="@firebase/analytics",rI="@firebase/app-check-compat",iI="@firebase/app-check",sI="@firebase/auth",aI="@firebase/auth-compat",oI="@firebase/database",uI="@firebase/database-compat",lI="@firebase/functions",cI="@firebase/functions-compat",fI="@firebase/installations",dI="@firebase/installations-compat",hI="@firebase/messaging",pI="@firebase/messaging-compat",gI="@firebase/performance",mI="@firebase/performance-compat",yI="@firebase/remote-config",vI="@firebase/remote-config-compat",bI="@firebase/storage",_I="@firebase/storage-compat",wI="@firebase/firestore",xI="@firebase/firestore-compat",SI="firebase";/**
|
|
344
|
+
* @license
|
|
345
|
+
* Copyright 2019 Google LLC
|
|
346
|
+
*
|
|
347
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
348
|
+
* you may not use this file except in compliance with the License.
|
|
349
|
+
* You may obtain a copy of the License at
|
|
350
|
+
*
|
|
351
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
352
|
+
*
|
|
353
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
354
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
355
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
356
|
+
* See the License for the specific language governing permissions and
|
|
357
|
+
* limitations under the License.
|
|
358
|
+
*/const qf="[DEFAULT]",kI={[Uf]:"fire-core",[eI]:"fire-core-compat",[nI]:"fire-analytics",[tI]:"fire-analytics-compat",[iI]:"fire-app-check",[rI]:"fire-app-check-compat",[sI]:"fire-auth",[aI]:"fire-auth-compat",[oI]:"fire-rtdb",[uI]:"fire-rtdb-compat",[lI]:"fire-fn",[cI]:"fire-fn-compat",[fI]:"fire-iid",[dI]:"fire-iid-compat",[hI]:"fire-fcm",[pI]:"fire-fcm-compat",[gI]:"fire-perf",[mI]:"fire-perf-compat",[yI]:"fire-rc",[vI]:"fire-rc-compat",[bI]:"fire-gcs",[_I]:"fire-gcs-compat",[wI]:"fire-fst",[xI]:"fire-fst-compat","fire-js":"fire-js",[SI]:"fire-js-all"};/**
|
|
359
|
+
* @license
|
|
360
|
+
* Copyright 2019 Google LLC
|
|
361
|
+
*
|
|
362
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
363
|
+
* you may not use this file except in compliance with the License.
|
|
364
|
+
* You may obtain a copy of the License at
|
|
365
|
+
*
|
|
366
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
367
|
+
*
|
|
368
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
369
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
370
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
371
|
+
* See the License for the specific language governing permissions and
|
|
372
|
+
* limitations under the License.
|
|
373
|
+
*/const zu=new Map,zf=new Map;function DI(e,t){try{e.container.addComponent(t)}catch(r){ds.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,r)}}function hs(e){const t=e.name;if(zf.has(t))return ds.debug(`There were multiple attempts to register component ${t}.`),!1;zf.set(t,e);for(const r of zu.values())DI(r,e);return!0}function Yd(e,t){const r=e.container.getProvider("heartbeat").getImmediate({optional:!0});return r&&r.triggerHeartbeat(),e.container.getProvider(t)}/**
|
|
374
|
+
* @license
|
|
375
|
+
* Copyright 2019 Google LLC
|
|
376
|
+
*
|
|
377
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
378
|
+
* you may not use this file except in compliance with the License.
|
|
379
|
+
* You may obtain a copy of the License at
|
|
380
|
+
*
|
|
381
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
382
|
+
*
|
|
383
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
384
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
385
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
386
|
+
* See the License for the specific language governing permissions and
|
|
387
|
+
* limitations under the License.
|
|
388
|
+
*/const CI={"no-app":"No Firebase App '{$appName}' has been created - call initializeApp() first","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists with different options or config","app-deleted":"Firebase App named '{$appName}' already deleted","no-options":"Need to provide options, when not being deployed to hosting via source.","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invalid-log-argument":"First argument to `onLog` must be null or a function.","idb-open":"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.","idb-get":"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.","idb-set":"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.","idb-delete":"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."},Wi=new Bl("app","Firebase",CI);/**
|
|
389
|
+
* @license
|
|
390
|
+
* Copyright 2019 Google LLC
|
|
391
|
+
*
|
|
392
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
393
|
+
* you may not use this file except in compliance with the License.
|
|
394
|
+
* You may obtain a copy of the License at
|
|
395
|
+
*
|
|
396
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
397
|
+
*
|
|
398
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
399
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
400
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
401
|
+
* See the License for the specific language governing permissions and
|
|
402
|
+
* limitations under the License.
|
|
403
|
+
*/class TI{constructor(t,r,a){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},r),this._name=r.name,this._automaticDataCollectionEnabled=r.automaticDataCollectionEnabled,this._container=a,this.container.addComponent(new Hi("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw Wi.create("app-deleted",{appName:this._name})}}function A0(e,t={}){let r=e;typeof t!="object"&&(t={name:t});const a=Object.assign({name:qf,automaticDataCollectionEnabled:!1},t),o=a.name;if(typeof o!="string"||!o)throw Wi.create("bad-app-name",{appName:String(o)});if(r||(r=D0()),!r)throw Wi.create("no-options");const c=zu.get(o);if(c){if(Bf(r,c.options)&&Bf(a,c.config))return c;throw Wi.create("duplicate-app",{appName:o})}const g=new LO(o);for(const k of zf.values())g.addComponent(k);const w=new TI(r,a,g);return zu.set(o,w),w}function EI(e=qf){const t=zu.get(e);if(!t&&e===qf&&D0())return A0();if(!t)throw Wi.create("no-app",{appName:e});return t}function Bi(e,t,r){var a;let o=(a=kI[e])!==null&&a!==void 0?a:e;r&&(o+=`-${r}`);const c=o.match(/\s|\//),g=t.match(/\s|\//);if(c||g){const w=[`Unable to register library "${o}" with version "${t}":`];c&&w.push(`library name "${o}" contains illegal characters (whitespace or "/")`),c&&g&&w.push("and"),g&&w.push(`version name "${t}" contains illegal characters (whitespace or "/")`),ds.warn(w.join(" "));return}hs(new Hi(`${o}-version`,()=>({library:o,version:t}),"VERSION"))}/**
|
|
404
|
+
* @license
|
|
405
|
+
* Copyright 2021 Google LLC
|
|
406
|
+
*
|
|
407
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
408
|
+
* you may not use this file except in compliance with the License.
|
|
409
|
+
* You may obtain a copy of the License at
|
|
410
|
+
*
|
|
411
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
412
|
+
*
|
|
413
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
414
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
415
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
416
|
+
* See the License for the specific language governing permissions and
|
|
417
|
+
* limitations under the License.
|
|
418
|
+
*/const MI="firebase-heartbeat-database",AI=1,no="firebase-heartbeat-store";let _f=null;function O0(){return _f||(_f=Hl(MI,AI,{upgrade:(e,t)=>{switch(t){case 0:try{e.createObjectStore(no)}catch(r){console.warn(r)}}}}).catch(e=>{throw Wi.create("idb-open",{originalErrorMessage:e.message})})),_f}async function OI(e){try{const r=(await O0()).transaction(no),a=await r.objectStore(no).get(I0(e));return await r.done,a}catch(t){if(t instanceof ra)ds.warn(t.message);else{const r=Wi.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});ds.warn(r.message)}}}async function Cg(e,t){try{const a=(await O0()).transaction(no,"readwrite");await a.objectStore(no).put(t,I0(e)),await a.done}catch(r){if(r instanceof ra)ds.warn(r.message);else{const a=Wi.create("idb-set",{originalErrorMessage:r==null?void 0:r.message});ds.warn(a.message)}}}function I0(e){return`${e.name}!${e.options.appId}`}/**
|
|
419
|
+
* @license
|
|
420
|
+
* Copyright 2021 Google LLC
|
|
421
|
+
*
|
|
422
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
423
|
+
* you may not use this file except in compliance with the License.
|
|
424
|
+
* You may obtain a copy of the License at
|
|
425
|
+
*
|
|
426
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
427
|
+
*
|
|
428
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
429
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
430
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
431
|
+
* See the License for the specific language governing permissions and
|
|
432
|
+
* limitations under the License.
|
|
433
|
+
*/const II=1024,RI=30*24*60*60*1e3;class PI{constructor(t){this.container=t,this._heartbeatsCache=null;const r=this.container.getProvider("app").getImmediate();this._storage=new LI(r),this._heartbeatsCachePromise=this._storage.read().then(a=>(this._heartbeatsCache=a,a))}async triggerHeartbeat(){var t,r;const o=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),c=Tg();if(!(((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null&&(this._heartbeatsCache=await this._heartbeatsCachePromise,((r=this._heartbeatsCache)===null||r===void 0?void 0:r.heartbeats)==null))&&!(this._heartbeatsCache.lastSentHeartbeatDate===c||this._heartbeatsCache.heartbeats.some(g=>g.date===c)))return this._heartbeatsCache.heartbeats.push({date:c,agent:o}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(g=>{const w=new Date(g.date).valueOf();return Date.now()-w<=RI}),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){var t;if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,((t=this._heartbeatsCache)===null||t===void 0?void 0:t.heartbeats)==null||this._heartbeatsCache.heartbeats.length===0)return"";const r=Tg(),{heartbeatsToSend:a,unsentEntries:o}=NI(this._heartbeatsCache.heartbeats),c=k0(JSON.stringify({version:2,heartbeats:a}));return this._heartbeatsCache.lastSentHeartbeatDate=r,o.length>0?(this._heartbeatsCache.heartbeats=o,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),c}}function Tg(){return new Date().toISOString().substring(0,10)}function NI(e,t=II){const r=[];let a=e.slice();for(const o of e){const c=r.find(g=>g.agent===o.agent);if(c){if(c.dates.push(o.date),Eg(r)>t){c.dates.pop();break}}else if(r.push({agent:o.agent,dates:[o.date]}),Eg(r)>t){r.pop();break}a=a.slice(1)}return{heartbeatsToSend:r,unsentEntries:a}}class LI{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return C0()?T0().then(()=>!0).catch(()=>!1):!1}async read(){if(await this._canUseIndexedDBPromise){const r=await OI(this.app);return r!=null&&r.heartbeats?r:{heartbeats:[]}}else return{heartbeats:[]}}async overwrite(t){var r;if(await this._canUseIndexedDBPromise){const o=await this.read();return Cg(this.app,{lastSentHeartbeatDate:(r=t.lastSentHeartbeatDate)!==null&&r!==void 0?r:o.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var r;if(await this._canUseIndexedDBPromise){const o=await this.read();return Cg(this.app,{lastSentHeartbeatDate:(r=t.lastSentHeartbeatDate)!==null&&r!==void 0?r:o.lastSentHeartbeatDate,heartbeats:[...o.heartbeats,...t.heartbeats]})}else return}}function Eg(e){return k0(JSON.stringify({version:2,heartbeats:e})).length}/**
|
|
434
|
+
* @license
|
|
435
|
+
* Copyright 2019 Google LLC
|
|
436
|
+
*
|
|
437
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
438
|
+
* you may not use this file except in compliance with the License.
|
|
439
|
+
* You may obtain a copy of the License at
|
|
440
|
+
*
|
|
441
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
442
|
+
*
|
|
443
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
444
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
445
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
446
|
+
* See the License for the specific language governing permissions and
|
|
447
|
+
* limitations under the License.
|
|
448
|
+
*/function $I(e){hs(new Hi("platform-logger",t=>new JO(t),"PRIVATE")),hs(new Hi("heartbeat",t=>new PI(t),"PRIVATE")),Bi(Uf,Dg,e),Bi(Uf,Dg,"esm2017"),Bi("fire-js","")}$I("");var FI="firebase",YI="10.8.1";/**
|
|
449
|
+
* @license
|
|
450
|
+
* Copyright 2020 Google LLC
|
|
451
|
+
*
|
|
452
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
453
|
+
* you may not use this file except in compliance with the License.
|
|
454
|
+
* You may obtain a copy of the License at
|
|
455
|
+
*
|
|
456
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
457
|
+
*
|
|
458
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
459
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
460
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
461
|
+
* See the License for the specific language governing permissions and
|
|
462
|
+
* limitations under the License.
|
|
463
|
+
*/Bi(FI,YI,"app");const R0="@firebase/installations",Wd="0.6.5";/**
|
|
464
|
+
* @license
|
|
465
|
+
* Copyright 2019 Google LLC
|
|
466
|
+
*
|
|
467
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
468
|
+
* you may not use this file except in compliance with the License.
|
|
469
|
+
* You may obtain a copy of the License at
|
|
470
|
+
*
|
|
471
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
472
|
+
*
|
|
473
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
474
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
475
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
476
|
+
* See the License for the specific language governing permissions and
|
|
477
|
+
* limitations under the License.
|
|
478
|
+
*/const P0=1e4,N0=`w:${Wd}`,L0="FIS_v2",WI="https://firebaseinstallations.googleapis.com/v1",BI=60*60*1e3,HI="installations",jI="Installations";/**
|
|
479
|
+
* @license
|
|
480
|
+
* Copyright 2019 Google LLC
|
|
481
|
+
*
|
|
482
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
483
|
+
* you may not use this file except in compliance with the License.
|
|
484
|
+
* You may obtain a copy of the License at
|
|
485
|
+
*
|
|
486
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
487
|
+
*
|
|
488
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
489
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
490
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
491
|
+
* See the License for the specific language governing permissions and
|
|
492
|
+
* limitations under the License.
|
|
493
|
+
*/const UI={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"not-registered":"Firebase Installation is not registered.","installation-not-found":"Firebase Installation not found.","request-failed":'{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',"app-offline":"Could not process request. Application offline.","delete-pending-registration":"Can't delete installation while there is a pending registration request."},ps=new Bl(HI,jI,UI);function $0(e){return e instanceof ra&&e.code.includes("request-failed")}/**
|
|
494
|
+
* @license
|
|
495
|
+
* Copyright 2019 Google LLC
|
|
496
|
+
*
|
|
497
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
498
|
+
* you may not use this file except in compliance with the License.
|
|
499
|
+
* You may obtain a copy of the License at
|
|
500
|
+
*
|
|
501
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
502
|
+
*
|
|
503
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
504
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
505
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
506
|
+
* See the License for the specific language governing permissions and
|
|
507
|
+
* limitations under the License.
|
|
508
|
+
*/function F0({projectId:e}){return`${WI}/projects/${e}/installations`}function Y0(e){return{token:e.token,requestStatus:2,expiresIn:zI(e.expiresIn),creationTime:Date.now()}}async function W0(e,t){const a=(await t.json()).error;return ps.create("request-failed",{requestName:e,serverCode:a.code,serverMessage:a.message,serverStatus:a.status})}function B0({apiKey:e}){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}function qI(e,{refreshToken:t}){const r=B0(e);return r.append("Authorization",VI(t)),r}async function H0(e){const t=await e();return t.status>=500&&t.status<600?e():t}function zI(e){return Number(e.replace("s","000"))}function VI(e){return`${L0} ${e}`}/**
|
|
509
|
+
* @license
|
|
510
|
+
* Copyright 2019 Google LLC
|
|
511
|
+
*
|
|
512
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
513
|
+
* you may not use this file except in compliance with the License.
|
|
514
|
+
* You may obtain a copy of the License at
|
|
515
|
+
*
|
|
516
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
517
|
+
*
|
|
518
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
519
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
520
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
521
|
+
* See the License for the specific language governing permissions and
|
|
522
|
+
* limitations under the License.
|
|
523
|
+
*/async function GI({appConfig:e,heartbeatServiceProvider:t},{fid:r}){const a=F0(e),o=B0(e),c=t.getImmediate({optional:!0});if(c){const E=await c.getHeartbeatsHeader();E&&o.append("x-firebase-client",E)}const g={fid:r,authVersion:L0,appId:e.appId,sdkVersion:N0},w={method:"POST",headers:o,body:JSON.stringify(g)},k=await H0(()=>fetch(a,w));if(k.ok){const E=await k.json();return{fid:E.fid||r,registrationStatus:2,refreshToken:E.refreshToken,authToken:Y0(E.authToken)}}else throw await W0("Create Installation",k)}/**
|
|
524
|
+
* @license
|
|
525
|
+
* Copyright 2019 Google LLC
|
|
526
|
+
*
|
|
527
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
528
|
+
* you may not use this file except in compliance with the License.
|
|
529
|
+
* You may obtain a copy of the License at
|
|
530
|
+
*
|
|
531
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
532
|
+
*
|
|
533
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
534
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
535
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
536
|
+
* See the License for the specific language governing permissions and
|
|
537
|
+
* limitations under the License.
|
|
538
|
+
*/function j0(e){return new Promise(t=>{setTimeout(t,e)})}/**
|
|
539
|
+
* @license
|
|
540
|
+
* Copyright 2019 Google LLC
|
|
541
|
+
*
|
|
542
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
543
|
+
* you may not use this file except in compliance with the License.
|
|
544
|
+
* You may obtain a copy of the License at
|
|
545
|
+
*
|
|
546
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
547
|
+
*
|
|
548
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
549
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
550
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
551
|
+
* See the License for the specific language governing permissions and
|
|
552
|
+
* limitations under the License.
|
|
553
|
+
*/function KI(e){return btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_")}/**
|
|
554
|
+
* @license
|
|
555
|
+
* Copyright 2019 Google LLC
|
|
556
|
+
*
|
|
557
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
558
|
+
* you may not use this file except in compliance with the License.
|
|
559
|
+
* You may obtain a copy of the License at
|
|
560
|
+
*
|
|
561
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
562
|
+
*
|
|
563
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
564
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
565
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
566
|
+
* See the License for the specific language governing permissions and
|
|
567
|
+
* limitations under the License.
|
|
568
|
+
*/const XI=/^[cdef][\w-]{21}$/,Vf="";function ZI(){try{const e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;const r=JI(e);return XI.test(r)?r:Vf}catch{return Vf}}function JI(e){return KI(e).substr(0,22)}/**
|
|
569
|
+
* @license
|
|
570
|
+
* Copyright 2019 Google LLC
|
|
571
|
+
*
|
|
572
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
573
|
+
* you may not use this file except in compliance with the License.
|
|
574
|
+
* You may obtain a copy of the License at
|
|
575
|
+
*
|
|
576
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
577
|
+
*
|
|
578
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
579
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
580
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
581
|
+
* See the License for the specific language governing permissions and
|
|
582
|
+
* limitations under the License.
|
|
583
|
+
*/function jl(e){return`${e.appName}!${e.appId}`}/**
|
|
584
|
+
* @license
|
|
585
|
+
* Copyright 2019 Google LLC
|
|
586
|
+
*
|
|
587
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
588
|
+
* you may not use this file except in compliance with the License.
|
|
589
|
+
* You may obtain a copy of the License at
|
|
590
|
+
*
|
|
591
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
592
|
+
*
|
|
593
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
594
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
595
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
596
|
+
* See the License for the specific language governing permissions and
|
|
597
|
+
* limitations under the License.
|
|
598
|
+
*/const U0=new Map;function q0(e,t){const r=jl(e);z0(r,t),QI(r,t)}function z0(e,t){const r=U0.get(e);if(r)for(const a of r)a(t)}function QI(e,t){const r=e2();r&&r.postMessage({key:e,fid:t}),t2()}let cs=null;function e2(){return!cs&&"BroadcastChannel"in self&&(cs=new BroadcastChannel("[Firebase] FID Change"),cs.onmessage=e=>{z0(e.data.key,e.data.fid)}),cs}function t2(){U0.size===0&&cs&&(cs.close(),cs=null)}/**
|
|
599
|
+
* @license
|
|
600
|
+
* Copyright 2019 Google LLC
|
|
601
|
+
*
|
|
602
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
603
|
+
* you may not use this file except in compliance with the License.
|
|
604
|
+
* You may obtain a copy of the License at
|
|
605
|
+
*
|
|
606
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
607
|
+
*
|
|
608
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
609
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
610
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
611
|
+
* See the License for the specific language governing permissions and
|
|
612
|
+
* limitations under the License.
|
|
613
|
+
*/const n2="firebase-installations-database",r2=1,gs="firebase-installations-store";let wf=null;function Bd(){return wf||(wf=Hl(n2,r2,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(gs)}}})),wf}async function Vu(e,t){const r=jl(e),o=(await Bd()).transaction(gs,"readwrite"),c=o.objectStore(gs),g=await c.get(r);return await c.put(t,r),await o.done,(!g||g.fid!==t.fid)&&q0(e,t.fid),t}async function V0(e){const t=jl(e),a=(await Bd()).transaction(gs,"readwrite");await a.objectStore(gs).delete(t),await a.done}async function Ul(e,t){const r=jl(e),o=(await Bd()).transaction(gs,"readwrite"),c=o.objectStore(gs),g=await c.get(r),w=t(g);return w===void 0?await c.delete(r):await c.put(w,r),await o.done,w&&(!g||g.fid!==w.fid)&&q0(e,w.fid),w}/**
|
|
614
|
+
* @license
|
|
615
|
+
* Copyright 2019 Google LLC
|
|
616
|
+
*
|
|
617
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
618
|
+
* you may not use this file except in compliance with the License.
|
|
619
|
+
* You may obtain a copy of the License at
|
|
620
|
+
*
|
|
621
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
622
|
+
*
|
|
623
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
624
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
625
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
626
|
+
* See the License for the specific language governing permissions and
|
|
627
|
+
* limitations under the License.
|
|
628
|
+
*/async function Hd(e){let t;const r=await Ul(e.appConfig,a=>{const o=i2(a),c=s2(e,o);return t=c.registrationPromise,c.installationEntry});return r.fid===Vf?{installationEntry:await t}:{installationEntry:r,registrationPromise:t}}function i2(e){const t=e||{fid:ZI(),registrationStatus:0};return G0(t)}function s2(e,t){if(t.registrationStatus===0){if(!navigator.onLine){const o=Promise.reject(ps.create("app-offline"));return{installationEntry:t,registrationPromise:o}}const r={fid:t.fid,registrationStatus:1,registrationTime:Date.now()},a=a2(e,r);return{installationEntry:r,registrationPromise:a}}else return t.registrationStatus===1?{installationEntry:t,registrationPromise:o2(e)}:{installationEntry:t}}async function a2(e,t){try{const r=await GI(e,t);return Vu(e.appConfig,r)}catch(r){throw $0(r)&&r.customData.serverCode===409?await V0(e.appConfig):await Vu(e.appConfig,{fid:t.fid,registrationStatus:0}),r}}async function o2(e){let t=await Mg(e.appConfig);for(;t.registrationStatus===1;)await j0(100),t=await Mg(e.appConfig);if(t.registrationStatus===0){const{installationEntry:r,registrationPromise:a}=await Hd(e);return a||r}return t}function Mg(e){return Ul(e,t=>{if(!t)throw ps.create("installation-not-found");return G0(t)})}function G0(e){return u2(e)?{fid:e.fid,registrationStatus:0}:e}function u2(e){return e.registrationStatus===1&&e.registrationTime+P0<Date.now()}/**
|
|
629
|
+
* @license
|
|
630
|
+
* Copyright 2019 Google LLC
|
|
631
|
+
*
|
|
632
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
633
|
+
* you may not use this file except in compliance with the License.
|
|
634
|
+
* You may obtain a copy of the License at
|
|
635
|
+
*
|
|
636
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
637
|
+
*
|
|
638
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
639
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
640
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
641
|
+
* See the License for the specific language governing permissions and
|
|
642
|
+
* limitations under the License.
|
|
643
|
+
*/async function l2({appConfig:e,heartbeatServiceProvider:t},r){const a=c2(e,r),o=qI(e,r),c=t.getImmediate({optional:!0});if(c){const E=await c.getHeartbeatsHeader();E&&o.append("x-firebase-client",E)}const g={installation:{sdkVersion:N0,appId:e.appId}},w={method:"POST",headers:o,body:JSON.stringify(g)},k=await H0(()=>fetch(a,w));if(k.ok){const E=await k.json();return Y0(E)}else throw await W0("Generate Auth Token",k)}function c2(e,{fid:t}){return`${F0(e)}/${t}/authTokens:generate`}/**
|
|
644
|
+
* @license
|
|
645
|
+
* Copyright 2019 Google LLC
|
|
646
|
+
*
|
|
647
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
648
|
+
* you may not use this file except in compliance with the License.
|
|
649
|
+
* You may obtain a copy of the License at
|
|
650
|
+
*
|
|
651
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
652
|
+
*
|
|
653
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
654
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
655
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
656
|
+
* See the License for the specific language governing permissions and
|
|
657
|
+
* limitations under the License.
|
|
658
|
+
*/async function jd(e,t=!1){let r;const a=await Ul(e.appConfig,c=>{if(!K0(c))throw ps.create("not-registered");const g=c.authToken;if(!t&&h2(g))return c;if(g.requestStatus===1)return r=f2(e,t),c;{if(!navigator.onLine)throw ps.create("app-offline");const w=g2(c);return r=d2(e,w),w}});return r?await r:a.authToken}async function f2(e,t){let r=await Ag(e.appConfig);for(;r.authToken.requestStatus===1;)await j0(100),r=await Ag(e.appConfig);const a=r.authToken;return a.requestStatus===0?jd(e,t):a}function Ag(e){return Ul(e,t=>{if(!K0(t))throw ps.create("not-registered");const r=t.authToken;return m2(r)?Object.assign(Object.assign({},t),{authToken:{requestStatus:0}}):t})}async function d2(e,t){try{const r=await l2(e,t),a=Object.assign(Object.assign({},t),{authToken:r});return await Vu(e.appConfig,a),r}catch(r){if($0(r)&&(r.customData.serverCode===401||r.customData.serverCode===404))await V0(e.appConfig);else{const a=Object.assign(Object.assign({},t),{authToken:{requestStatus:0}});await Vu(e.appConfig,a)}throw r}}function K0(e){return e!==void 0&&e.registrationStatus===2}function h2(e){return e.requestStatus===2&&!p2(e)}function p2(e){const t=Date.now();return t<e.creationTime||e.creationTime+e.expiresIn<t+BI}function g2(e){const t={requestStatus:1,requestTime:Date.now()};return Object.assign(Object.assign({},e),{authToken:t})}function m2(e){return e.requestStatus===1&&e.requestTime+P0<Date.now()}/**
|
|
659
|
+
* @license
|
|
660
|
+
* Copyright 2019 Google LLC
|
|
661
|
+
*
|
|
662
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
663
|
+
* you may not use this file except in compliance with the License.
|
|
664
|
+
* You may obtain a copy of the License at
|
|
665
|
+
*
|
|
666
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
667
|
+
*
|
|
668
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
669
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
670
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
671
|
+
* See the License for the specific language governing permissions and
|
|
672
|
+
* limitations under the License.
|
|
673
|
+
*/async function y2(e){const t=e,{installationEntry:r,registrationPromise:a}=await Hd(t);return a?a.catch(console.error):jd(t).catch(console.error),r.fid}/**
|
|
674
|
+
* @license
|
|
675
|
+
* Copyright 2019 Google LLC
|
|
676
|
+
*
|
|
677
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
678
|
+
* you may not use this file except in compliance with the License.
|
|
679
|
+
* You may obtain a copy of the License at
|
|
680
|
+
*
|
|
681
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
682
|
+
*
|
|
683
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
684
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
685
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
686
|
+
* See the License for the specific language governing permissions and
|
|
687
|
+
* limitations under the License.
|
|
688
|
+
*/async function v2(e,t=!1){const r=e;return await b2(r),(await jd(r,t)).token}async function b2(e){const{registrationPromise:t}=await Hd(e);t&&await t}/**
|
|
689
|
+
* @license
|
|
690
|
+
* Copyright 2019 Google LLC
|
|
691
|
+
*
|
|
692
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
693
|
+
* you may not use this file except in compliance with the License.
|
|
694
|
+
* You may obtain a copy of the License at
|
|
695
|
+
*
|
|
696
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
697
|
+
*
|
|
698
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
699
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
700
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
701
|
+
* See the License for the specific language governing permissions and
|
|
702
|
+
* limitations under the License.
|
|
703
|
+
*/function _2(e){if(!e||!e.options)throw xf("App Configuration");if(!e.name)throw xf("App Name");const t=["projectId","apiKey","appId"];for(const r of t)if(!e.options[r])throw xf(r);return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}function xf(e){return ps.create("missing-app-config-values",{valueName:e})}/**
|
|
704
|
+
* @license
|
|
705
|
+
* Copyright 2020 Google LLC
|
|
706
|
+
*
|
|
707
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
708
|
+
* you may not use this file except in compliance with the License.
|
|
709
|
+
* You may obtain a copy of the License at
|
|
710
|
+
*
|
|
711
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
712
|
+
*
|
|
713
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
714
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
715
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
716
|
+
* See the License for the specific language governing permissions and
|
|
717
|
+
* limitations under the License.
|
|
718
|
+
*/const X0="installations",w2="installations-internal",x2=e=>{const t=e.getProvider("app").getImmediate(),r=_2(t),a=Yd(t,"heartbeat");return{app:t,appConfig:r,heartbeatServiceProvider:a,_delete:()=>Promise.resolve()}},S2=e=>{const t=e.getProvider("app").getImmediate(),r=Yd(t,X0).getImmediate();return{getId:()=>y2(r),getToken:o=>v2(r,o)}};function k2(){hs(new Hi(X0,x2,"PUBLIC")),hs(new Hi(w2,S2,"PRIVATE"))}k2();Bi(R0,Wd);Bi(R0,Wd,"esm2017");/**
|
|
719
|
+
* @license
|
|
720
|
+
* Copyright 2019 Google LLC
|
|
721
|
+
*
|
|
722
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
723
|
+
* you may not use this file except in compliance with the License.
|
|
724
|
+
* You may obtain a copy of the License at
|
|
725
|
+
*
|
|
726
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
727
|
+
*
|
|
728
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
729
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
730
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
731
|
+
* See the License for the specific language governing permissions and
|
|
732
|
+
* limitations under the License.
|
|
733
|
+
*/const D2="/firebase-messaging-sw.js",C2="/firebase-cloud-messaging-push-scope",Z0="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",T2="https://fcmregistrations.googleapis.com/v1",J0="google.c.a.c_id",E2="google.c.a.c_l",M2="google.c.a.ts",A2="google.c.a.e";var Og;(function(e){e[e.DATA_MESSAGE=1]="DATA_MESSAGE",e[e.DISPLAY_NOTIFICATION=3]="DISPLAY_NOTIFICATION"})(Og||(Og={}));/**
|
|
734
|
+
* @license
|
|
735
|
+
* Copyright 2018 Google LLC
|
|
736
|
+
*
|
|
737
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
|
|
738
|
+
* in compliance with the License. You may obtain a copy of the License at
|
|
739
|
+
*
|
|
740
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
741
|
+
*
|
|
742
|
+
* Unless required by applicable law or agreed to in writing, software distributed under the License
|
|
743
|
+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
|
744
|
+
* or implied. See the License for the specific language governing permissions and limitations under
|
|
745
|
+
* the License.
|
|
746
|
+
*/var ro;(function(e){e.PUSH_RECEIVED="push-received",e.NOTIFICATION_CLICKED="notification-clicked"})(ro||(ro={}));/**
|
|
747
|
+
* @license
|
|
748
|
+
* Copyright 2017 Google LLC
|
|
749
|
+
*
|
|
750
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
751
|
+
* you may not use this file except in compliance with the License.
|
|
752
|
+
* You may obtain a copy of the License at
|
|
753
|
+
*
|
|
754
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
755
|
+
*
|
|
756
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
757
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
758
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
759
|
+
* See the License for the specific language governing permissions and
|
|
760
|
+
* limitations under the License.
|
|
761
|
+
*/function ui(e){const t=new Uint8Array(e);return btoa(String.fromCharCode(...t)).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function O2(e){const t="=".repeat((4-e.length%4)%4),r=(e+t).replace(/\-/g,"+").replace(/_/g,"/"),a=atob(r),o=new Uint8Array(a.length);for(let c=0;c<a.length;++c)o[c]=a.charCodeAt(c);return o}/**
|
|
762
|
+
* @license
|
|
763
|
+
* Copyright 2019 Google LLC
|
|
764
|
+
*
|
|
765
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
766
|
+
* you may not use this file except in compliance with the License.
|
|
767
|
+
* You may obtain a copy of the License at
|
|
768
|
+
*
|
|
769
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
770
|
+
*
|
|
771
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
772
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
773
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
774
|
+
* See the License for the specific language governing permissions and
|
|
775
|
+
* limitations under the License.
|
|
776
|
+
*/const Sf="fcm_token_details_db",I2=5,Ig="fcm_token_object_Store";async function R2(e){if("databases"in indexedDB&&!(await indexedDB.databases()).map(c=>c.name).includes(Sf))return null;let t=null;return(await Hl(Sf,I2,{upgrade:async(a,o,c,g)=>{var w;if(o<2||!a.objectStoreNames.contains(Ig))return;const k=g.objectStore(Ig),E=await k.index("fcmSenderId").get(e);if(await k.clear(),!!E){if(o===2){const P=E;if(!P.auth||!P.p256dh||!P.endpoint)return;t={token:P.fcmToken,createTime:(w=P.createTime)!==null&&w!==void 0?w:Date.now(),subscriptionOptions:{auth:P.auth,p256dh:P.p256dh,endpoint:P.endpoint,swScope:P.swScope,vapidKey:typeof P.vapidKey=="string"?P.vapidKey:ui(P.vapidKey)}}}else if(o===3){const P=E;t={token:P.fcmToken,createTime:P.createTime,subscriptionOptions:{auth:ui(P.auth),p256dh:ui(P.p256dh),endpoint:P.endpoint,swScope:P.swScope,vapidKey:ui(P.vapidKey)}}}else if(o===4){const P=E;t={token:P.fcmToken,createTime:P.createTime,subscriptionOptions:{auth:ui(P.auth),p256dh:ui(P.p256dh),endpoint:P.endpoint,swScope:P.swScope,vapidKey:ui(P.vapidKey)}}}}}})).close(),await vf(Sf),await vf("fcm_vapid_details_db"),await vf("undefined"),P2(t)?t:null}function P2(e){if(!e||!e.subscriptionOptions)return!1;const{subscriptionOptions:t}=e;return typeof e.createTime=="number"&&e.createTime>0&&typeof e.token=="string"&&e.token.length>0&&typeof t.auth=="string"&&t.auth.length>0&&typeof t.p256dh=="string"&&t.p256dh.length>0&&typeof t.endpoint=="string"&&t.endpoint.length>0&&typeof t.swScope=="string"&&t.swScope.length>0&&typeof t.vapidKey=="string"&&t.vapidKey.length>0}/**
|
|
777
|
+
* @license
|
|
778
|
+
* Copyright 2019 Google LLC
|
|
779
|
+
*
|
|
780
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
781
|
+
* you may not use this file except in compliance with the License.
|
|
782
|
+
* You may obtain a copy of the License at
|
|
783
|
+
*
|
|
784
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
785
|
+
*
|
|
786
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
787
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
788
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
789
|
+
* See the License for the specific language governing permissions and
|
|
790
|
+
* limitations under the License.
|
|
791
|
+
*/const N2="firebase-messaging-database",L2=1,ms="firebase-messaging-store";let kf=null;function Ud(){return kf||(kf=Hl(N2,L2,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(ms)}}})),kf}async function Q0(e){const t=zd(e),a=await(await Ud()).transaction(ms).objectStore(ms).get(t);if(a)return a;{const o=await R2(e.appConfig.senderId);if(o)return await qd(e,o),o}}async function qd(e,t){const r=zd(e),o=(await Ud()).transaction(ms,"readwrite");return await o.objectStore(ms).put(t,r),await o.done,t}async function $2(e){const t=zd(e),a=(await Ud()).transaction(ms,"readwrite");await a.objectStore(ms).delete(t),await a.done}function zd({appConfig:e}){return e.appId}/**
|
|
792
|
+
* @license
|
|
793
|
+
* Copyright 2017 Google LLC
|
|
794
|
+
*
|
|
795
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
796
|
+
* you may not use this file except in compliance with the License.
|
|
797
|
+
* You may obtain a copy of the License at
|
|
798
|
+
*
|
|
799
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
800
|
+
*
|
|
801
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
802
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
803
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
804
|
+
* See the License for the specific language governing permissions and
|
|
805
|
+
* limitations under the License.
|
|
806
|
+
*/const F2={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the Firebase SDK.","indexed-db-unsupported":"This browser doesn't support indexedDb.open() (ex. Safari iFrame, Firefox Private Browsing, etc)","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."},cn=new Bl("messaging","Messaging",F2);/**
|
|
807
|
+
* @license
|
|
808
|
+
* Copyright 2019 Google LLC
|
|
809
|
+
*
|
|
810
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
811
|
+
* you may not use this file except in compliance with the License.
|
|
812
|
+
* You may obtain a copy of the License at
|
|
813
|
+
*
|
|
814
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
815
|
+
*
|
|
816
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
817
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
818
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
819
|
+
* See the License for the specific language governing permissions and
|
|
820
|
+
* limitations under the License.
|
|
821
|
+
*/async function Y2(e,t){const r=await Gd(e),a=ty(t),o={method:"POST",headers:r,body:JSON.stringify(a)};let c;try{c=await(await fetch(Vd(e.appConfig),o)).json()}catch(g){throw cn.create("token-subscribe-failed",{errorInfo:g==null?void 0:g.toString()})}if(c.error){const g=c.error.message;throw cn.create("token-subscribe-failed",{errorInfo:g})}if(!c.token)throw cn.create("token-subscribe-no-token");return c.token}async function W2(e,t){const r=await Gd(e),a=ty(t.subscriptionOptions),o={method:"PATCH",headers:r,body:JSON.stringify(a)};let c;try{c=await(await fetch(`${Vd(e.appConfig)}/${t.token}`,o)).json()}catch(g){throw cn.create("token-update-failed",{errorInfo:g==null?void 0:g.toString()})}if(c.error){const g=c.error.message;throw cn.create("token-update-failed",{errorInfo:g})}if(!c.token)throw cn.create("token-update-no-token");return c.token}async function ey(e,t){const a={method:"DELETE",headers:await Gd(e)};try{const c=await(await fetch(`${Vd(e.appConfig)}/${t}`,a)).json();if(c.error){const g=c.error.message;throw cn.create("token-unsubscribe-failed",{errorInfo:g})}}catch(o){throw cn.create("token-unsubscribe-failed",{errorInfo:o==null?void 0:o.toString()})}}function Vd({projectId:e}){return`${T2}/projects/${e}/registrations`}async function Gd({appConfig:e,installations:t}){const r=await t.getToken();return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e.apiKey,"x-goog-firebase-installations-auth":`FIS ${r}`})}function ty({p256dh:e,auth:t,endpoint:r,vapidKey:a}){const o={web:{endpoint:r,auth:t,p256dh:e}};return a!==Z0&&(o.web.applicationPubKey=a),o}/**
|
|
822
|
+
* @license
|
|
823
|
+
* Copyright 2019 Google LLC
|
|
824
|
+
*
|
|
825
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
826
|
+
* you may not use this file except in compliance with the License.
|
|
827
|
+
* You may obtain a copy of the License at
|
|
828
|
+
*
|
|
829
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
830
|
+
*
|
|
831
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
832
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
833
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
834
|
+
* See the License for the specific language governing permissions and
|
|
835
|
+
* limitations under the License.
|
|
836
|
+
*/const B2=7*24*60*60*1e3;async function H2(e){const t=await q2(e.swRegistration,e.vapidKey),r={vapidKey:e.vapidKey,swScope:e.swRegistration.scope,endpoint:t.endpoint,auth:ui(t.getKey("auth")),p256dh:ui(t.getKey("p256dh"))},a=await Q0(e.firebaseDependencies);if(a){if(z2(a.subscriptionOptions,r))return Date.now()>=a.createTime+B2?U2(e,{token:a.token,createTime:Date.now(),subscriptionOptions:r}):a.token;try{await ey(e.firebaseDependencies,a.token)}catch(o){console.warn(o)}return Rg(e.firebaseDependencies,r)}else return Rg(e.firebaseDependencies,r)}async function j2(e){const t=await Q0(e.firebaseDependencies);t&&(await ey(e.firebaseDependencies,t.token),await $2(e.firebaseDependencies));const r=await e.swRegistration.pushManager.getSubscription();return r?r.unsubscribe():!0}async function U2(e,t){try{const r=await W2(e.firebaseDependencies,t),a=Object.assign(Object.assign({},t),{token:r,createTime:Date.now()});return await qd(e.firebaseDependencies,a),r}catch(r){throw await j2(e),r}}async function Rg(e,t){const a={token:await Y2(e,t),createTime:Date.now(),subscriptionOptions:t};return await qd(e,a),a.token}async function q2(e,t){const r=await e.pushManager.getSubscription();return r||e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:O2(t)})}function z2(e,t){const r=t.vapidKey===e.vapidKey,a=t.endpoint===e.endpoint,o=t.auth===e.auth,c=t.p256dh===e.p256dh;return r&&a&&o&&c}/**
|
|
837
|
+
* @license
|
|
838
|
+
* Copyright 2020 Google LLC
|
|
839
|
+
*
|
|
840
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
841
|
+
* you may not use this file except in compliance with the License.
|
|
842
|
+
* You may obtain a copy of the License at
|
|
843
|
+
*
|
|
844
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
845
|
+
*
|
|
846
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
847
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
848
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
849
|
+
* See the License for the specific language governing permissions and
|
|
850
|
+
* limitations under the License.
|
|
851
|
+
*/function Pg(e){const t={from:e.from,collapseKey:e.collapse_key,messageId:e.fcmMessageId};return V2(t,e),G2(t,e),K2(t,e),t}function V2(e,t){if(!t.notification)return;e.notification={};const r=t.notification.title;r&&(e.notification.title=r);const a=t.notification.body;a&&(e.notification.body=a);const o=t.notification.image;o&&(e.notification.image=o);const c=t.notification.icon;c&&(e.notification.icon=c)}function G2(e,t){t.data&&(e.data=t.data)}function K2(e,t){var r,a,o,c,g;if(!t.fcmOptions&&!(!((r=t.notification)===null||r===void 0)&&r.click_action))return;e.fcmOptions={};const w=(o=(a=t.fcmOptions)===null||a===void 0?void 0:a.link)!==null&&o!==void 0?o:(c=t.notification)===null||c===void 0?void 0:c.click_action;w&&(e.fcmOptions.link=w);const k=(g=t.fcmOptions)===null||g===void 0?void 0:g.analytics_label;k&&(e.fcmOptions.analyticsLabel=k)}/**
|
|
852
|
+
* @license
|
|
853
|
+
* Copyright 2019 Google LLC
|
|
854
|
+
*
|
|
855
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
856
|
+
* you may not use this file except in compliance with the License.
|
|
857
|
+
* You may obtain a copy of the License at
|
|
858
|
+
*
|
|
859
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
860
|
+
*
|
|
861
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
862
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
863
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
864
|
+
* See the License for the specific language governing permissions and
|
|
865
|
+
* limitations under the License.
|
|
866
|
+
*/function X2(e){return typeof e=="object"&&!!e&&J0 in e}/**
|
|
867
|
+
* @license
|
|
868
|
+
* Copyright 2019 Google LLC
|
|
869
|
+
*
|
|
870
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
871
|
+
* you may not use this file except in compliance with the License.
|
|
872
|
+
* You may obtain a copy of the License at
|
|
873
|
+
*
|
|
874
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
875
|
+
*
|
|
876
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
877
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
878
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
879
|
+
* See the License for the specific language governing permissions and
|
|
880
|
+
* limitations under the License.
|
|
881
|
+
*/ny("hts/frbslgigp.ogepscmv/ieo/eaylg","tp:/ieaeogn-agolai.o/1frlglgc/o");ny("AzSCbw63g1R0nCw85jG8","Iaya3yLKwmgvh7cF0q4");function ny(e,t){const r=[];for(let a=0;a<e.length;a++)r.push(e.charAt(a)),a<t.length&&r.push(t.charAt(a));return r.join("")}/**
|
|
882
|
+
* @license
|
|
883
|
+
* Copyright 2019 Google LLC
|
|
884
|
+
*
|
|
885
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
886
|
+
* you may not use this file except in compliance with the License.
|
|
887
|
+
* You may obtain a copy of the License at
|
|
888
|
+
*
|
|
889
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
890
|
+
*
|
|
891
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
892
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
893
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
894
|
+
* See the License for the specific language governing permissions and
|
|
895
|
+
* limitations under the License.
|
|
896
|
+
*/function Z2(e){if(!e||!e.options)throw Df("App Configuration Object");if(!e.name)throw Df("App Name");const t=["projectId","apiKey","appId","messagingSenderId"],{options:r}=e;for(const a of t)if(!r[a])throw Df(a);return{appName:e.name,projectId:r.projectId,apiKey:r.apiKey,appId:r.appId,senderId:r.messagingSenderId}}function Df(e){return cn.create("missing-app-config-values",{valueName:e})}/**
|
|
897
|
+
* @license
|
|
898
|
+
* Copyright 2020 Google LLC
|
|
899
|
+
*
|
|
900
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
901
|
+
* you may not use this file except in compliance with the License.
|
|
902
|
+
* You may obtain a copy of the License at
|
|
903
|
+
*
|
|
904
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
905
|
+
*
|
|
906
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
907
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
908
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
909
|
+
* See the License for the specific language governing permissions and
|
|
910
|
+
* limitations under the License.
|
|
911
|
+
*/class J2{constructor(t,r,a){this.deliveryMetricsExportedToBigQueryEnabled=!1,this.onBackgroundMessageHandler=null,this.onMessageHandler=null,this.logEvents=[],this.isLogServiceStarted=!1;const o=Z2(t);this.firebaseDependencies={app:t,appConfig:o,installations:r,analyticsProvider:a}}_delete(){return Promise.resolve()}}/**
|
|
912
|
+
* @license
|
|
913
|
+
* Copyright 2020 Google LLC
|
|
914
|
+
*
|
|
915
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
916
|
+
* you may not use this file except in compliance with the License.
|
|
917
|
+
* You may obtain a copy of the License at
|
|
918
|
+
*
|
|
919
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
920
|
+
*
|
|
921
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
922
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
923
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
924
|
+
* See the License for the specific language governing permissions and
|
|
925
|
+
* limitations under the License.
|
|
926
|
+
*/async function Q2(e){try{e.swRegistration=await navigator.serviceWorker.register(D2,{scope:C2}),e.swRegistration.update().catch(()=>{})}catch(t){throw cn.create("failed-service-worker-registration",{browserErrorMessage:t==null?void 0:t.message})}}/**
|
|
927
|
+
* @license
|
|
928
|
+
* Copyright 2020 Google LLC
|
|
929
|
+
*
|
|
930
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
931
|
+
* you may not use this file except in compliance with the License.
|
|
932
|
+
* You may obtain a copy of the License at
|
|
933
|
+
*
|
|
934
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
935
|
+
*
|
|
936
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
937
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
938
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
939
|
+
* See the License for the specific language governing permissions and
|
|
940
|
+
* limitations under the License.
|
|
941
|
+
*/async function eR(e,t){if(!t&&!e.swRegistration&&await Q2(e),!(!t&&e.swRegistration)){if(!(t instanceof ServiceWorkerRegistration))throw cn.create("invalid-sw-registration");e.swRegistration=t}}/**
|
|
942
|
+
* @license
|
|
943
|
+
* Copyright 2020 Google LLC
|
|
944
|
+
*
|
|
945
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
946
|
+
* you may not use this file except in compliance with the License.
|
|
947
|
+
* You may obtain a copy of the License at
|
|
948
|
+
*
|
|
949
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
950
|
+
*
|
|
951
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
952
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
953
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
954
|
+
* See the License for the specific language governing permissions and
|
|
955
|
+
* limitations under the License.
|
|
956
|
+
*/async function tR(e,t){t?e.vapidKey=t:e.vapidKey||(e.vapidKey=Z0)}/**
|
|
957
|
+
* @license
|
|
958
|
+
* Copyright 2020 Google LLC
|
|
959
|
+
*
|
|
960
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
961
|
+
* you may not use this file except in compliance with the License.
|
|
962
|
+
* You may obtain a copy of the License at
|
|
963
|
+
*
|
|
964
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
965
|
+
*
|
|
966
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
967
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
968
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
969
|
+
* See the License for the specific language governing permissions and
|
|
970
|
+
* limitations under the License.
|
|
971
|
+
*/async function nR(e,t){if(!navigator)throw cn.create("only-available-in-window");if(Notification.permission==="default"&&await Notification.requestPermission(),Notification.permission!=="granted")throw cn.create("permission-blocked");return await tR(e,t==null?void 0:t.vapidKey),await eR(e,t==null?void 0:t.serviceWorkerRegistration),H2(e)}/**
|
|
972
|
+
* @license
|
|
973
|
+
* Copyright 2019 Google LLC
|
|
974
|
+
*
|
|
975
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
976
|
+
* you may not use this file except in compliance with the License.
|
|
977
|
+
* You may obtain a copy of the License at
|
|
978
|
+
*
|
|
979
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
980
|
+
*
|
|
981
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
982
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
983
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
984
|
+
* See the License for the specific language governing permissions and
|
|
985
|
+
* limitations under the License.
|
|
986
|
+
*/async function rR(e,t,r){const a=iR(t);(await e.firebaseDependencies.analyticsProvider.get()).logEvent(a,{message_id:r[J0],message_name:r[E2],message_time:r[M2],message_device_time:Math.floor(Date.now()/1e3)})}function iR(e){switch(e){case ro.NOTIFICATION_CLICKED:return"notification_open";case ro.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}/**
|
|
987
|
+
* @license
|
|
988
|
+
* Copyright 2017 Google LLC
|
|
989
|
+
*
|
|
990
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
991
|
+
* you may not use this file except in compliance with the License.
|
|
992
|
+
* You may obtain a copy of the License at
|
|
993
|
+
*
|
|
994
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
995
|
+
*
|
|
996
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
997
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
998
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
999
|
+
* See the License for the specific language governing permissions and
|
|
1000
|
+
* limitations under the License.
|
|
1001
|
+
*/async function sR(e,t){const r=t.data;if(!r.isFirebaseMessaging)return;e.onMessageHandler&&r.messageType===ro.PUSH_RECEIVED&&(typeof e.onMessageHandler=="function"?e.onMessageHandler(Pg(r)):e.onMessageHandler.next(Pg(r)));const a=r.data;X2(a)&&a[A2]==="1"&&await rR(e,r.messageType,a)}const Ng="@firebase/messaging",Lg="0.12.6";/**
|
|
1002
|
+
* @license
|
|
1003
|
+
* Copyright 2020 Google LLC
|
|
1004
|
+
*
|
|
1005
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1006
|
+
* you may not use this file except in compliance with the License.
|
|
1007
|
+
* You may obtain a copy of the License at
|
|
1008
|
+
*
|
|
1009
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1010
|
+
*
|
|
1011
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1012
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1013
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1014
|
+
* See the License for the specific language governing permissions and
|
|
1015
|
+
* limitations under the License.
|
|
1016
|
+
*/const aR=e=>{const t=new J2(e.getProvider("app").getImmediate(),e.getProvider("installations-internal").getImmediate(),e.getProvider("analytics-internal"));return navigator.serviceWorker.addEventListener("message",r=>sR(t,r)),t},oR=e=>{const t=e.getProvider("messaging").getImmediate();return{getToken:a=>nR(t,a)}};function uR(){hs(new Hi("messaging",aR,"PUBLIC")),hs(new Hi("messaging-internal",oR,"PRIVATE")),Bi(Ng,Lg),Bi(Ng,Lg,"esm2017")}/**
|
|
1017
|
+
* @license
|
|
1018
|
+
* Copyright 2020 Google LLC
|
|
1019
|
+
*
|
|
1020
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1021
|
+
* you may not use this file except in compliance with the License.
|
|
1022
|
+
* You may obtain a copy of the License at
|
|
1023
|
+
*
|
|
1024
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1025
|
+
*
|
|
1026
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1027
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1028
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1029
|
+
* See the License for the specific language governing permissions and
|
|
1030
|
+
* limitations under the License.
|
|
1031
|
+
*/async function lR(){try{await T0()}catch{return!1}return typeof window<"u"&&C0()&&EO()&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")}/**
|
|
1032
|
+
* @license
|
|
1033
|
+
* Copyright 2017 Google LLC
|
|
1034
|
+
*
|
|
1035
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1036
|
+
* you may not use this file except in compliance with the License.
|
|
1037
|
+
* You may obtain a copy of the License at
|
|
1038
|
+
*
|
|
1039
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1040
|
+
*
|
|
1041
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1042
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1043
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1044
|
+
* See the License for the specific language governing permissions and
|
|
1045
|
+
* limitations under the License.
|
|
1046
|
+
*/function cR(e=EI()){return lR().then(t=>{if(!t)throw cn.create("unsupported-browser")},t=>{throw cn.create("indexed-db-unsupported")}),Yd(IO(e),"messaging").getImmediate()}uR();const fR={apiKey:"AIzaSyAJJGPqTxy_bSbW1PFEjHG_Fc9nB0K9e8A",authDomain:"notificationdevukpc.firebaseapp.com",projectId:"notificationdevukpc",storageBucket:"notificationdevukpc.appspot.com",messagingSenderId:"611024667140",appId:"1:611024667140:web:cfe545239b746b14e9ab51",measurementId:"G-8FM57849R8"};A0(fR);cR();const dR=e=>{const[t,r]=J.reactExports.useState([]);return J.reactExports.useEffect(()=>{ve.axios.get(`${e}/user-management/api/v1/users/my-account/permissions`,{withCredentials:!0}).then(a=>r(a.data)).catch(a=>{console.error("Getting user permission error:",a)})},[e]),t},ry=e=>(t,r)=>{const a=dR(e);return r?t.every(o=>a==null?void 0:a.includes(o)):t.some(o=>a==null?void 0:a.includes(o))},iy=({baseUrl:e,accessWith:t,requireAll:r,children:a})=>ry(e)(t,r)?J.jsxRuntimeExports.jsx(J.jsxRuntimeExports.Fragment,{children:a}):null;{const e=J.s(iy,{props:{baseUrl:"string",accessWith:"json",requireAll:"boolean",children:"json"},shadow:"open"});customElements.define("has-permission",e)}exports.HasPermission=iy;exports.getUseHasPermission=ry;
|